# Exports - mostly self-explaining export ZSH=${HOME}/dotfiles/lib/ohmyzsh ZSH_THEME="mortalscumbag" DISABLE_AUTO_UPDATE="true" export GOPATH=${HOME}/go export PATH="${GOPATH}/bin:${HOME}/.gem/ruby/2.3.0/bin:${HOME}/dotfiles/lib/util:${HOME}/dotfiles/lib/dasht/bin:${PATH}" export DASHT_DOCSETS_DIR=$HOME/.local/share/Zeal/Zeal/docsets export EDITOR='nano' # Plugins plugins=(gem bundler composer git vagrant docker python) plugins+=(npm systemd systemadmin gitignore tmux extract) plugins+=(command-not-found colored-man-pages fabric ansible) case $(uname -n) in "megumi|sayaka") plugins+=(archlinux) ;; "test|git") plugins+=(debian) ;; esac # Load Parts of Scripts source ${ZSH}/oh-my-zsh.sh # Syntax Highlighting source ${HOME}/dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) # Aliases for file in ${HOME}/dotfiles/zsh/aliases.d/*.zsh; do source $file done # FZF [ -f ${HOME}/.fzf.zsh ] && source ${HOME}/.fzf.zsh # Local ZSHRC [ -f ${HOME}/local.zshrc ] && source ${HOME}/local.zshrc # Dircolors eval `dircolors ${HOME}/dotfiles/zsh/dircolors` # Completions Path fpath=(${HOME}/dotfiles/lib/completions/src $fpath) # Fix home/end key at work -- still needed? bindkey "^[[1~" beginning-of-line bindkey "^[[4~" end-of-line