# Exports 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/bin:${HOME}/dotfiles/lib/dasht/bin:${PATH}" export DASHT_DOCSETS_DIR=$HOME/.local/share/Zeal/Zeal/docsets export EDITOR='nano' # Plugins plugins=(gem bundler git vagrant docker python ansible) plugins+=(systemd systemadmin tmux command-not-found extract) case $(uname -n) in "megumi") plugins+=(archlinux) ;; "sayaka") plugins+=(archlinux) ;; "git") plugins+=(debian) ;; "test") plugins+=(debian) ;; esac # OMZ 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 # 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