changed yet more stuff
This commit is contained in:
parent
a0d198cdcb
commit
7935ec2ef6
23 changed files with 1080 additions and 47 deletions
|
@ -1,31 +1,13 @@
|
|||
# Exports
|
||||
# Export with respect to dotfiles folder
|
||||
export DOTFILES="${HOME}/dotfiles"
|
||||
export DOTFILES_CONFIG="${DOTFILES}/config"
|
||||
export LIB="${DOTFILES}/lib"
|
||||
export ZSH="${LIB}/ohmyzsh"
|
||||
export CONFIG="${DOTFILES}/config"
|
||||
export ZSHRCD="${CONFIG}/zsh/zshrc.d"
|
||||
export SEPARATE="${ZSHRCD}/separate"
|
||||
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${PATH}"
|
||||
export EDITOR='nano'
|
||||
export TERM=linux
|
||||
fpath+=(${LIB}/completions/src ${LIB}/local)
|
||||
|
||||
# Settings
|
||||
ZSH_THEME="mortalscumbag"
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
|
||||
|
||||
# Plugins
|
||||
case $(uname -n) in
|
||||
megumi|sayaka) source ${DOTFILES_CONFIG}/zsh/os-specific/archlinux.zsh ;;
|
||||
git) source ${DOTFILES_CONFIG}/zsh/os-specific/debian.zsh ;;
|
||||
esac
|
||||
|
||||
# Fix MobaXterm Home/End key with ZSH
|
||||
bindkey '^[[H' beginning-of-line
|
||||
bindkey '^[[F' end-of-line
|
||||
|
||||
# Source the needed parts
|
||||
source ${ZSH}/oh-my-zsh.sh # Oh My ZSH
|
||||
source ${LIB}/highlighting/zsh-syntax-highlighting.zsh # Syntax Highlighting
|
||||
for file in ${DOTFILES_CONFIG}/zsh/zshrc.d/*.zsh; do source $file; done # Other Files
|
||||
source ${HOME}/.fzf.zsh # FZF
|
||||
eval `dircolors ${DOTFILES_CONFIG}/dir/dircolors` # Dircolors
|
||||
for file in ${ZSHRCD}/*.zsh; do source $file; done # Other Files
|
||||
source ${HOME}/.fzf.zsh # FZF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue