dotfiles/zsh/zshrc
2015-10-03 21:58:16 +02:00

52 lines
1.2 KiB
Bash

# Oh My ZSH Path
export ZSH=${HOME}/dotfiles/lib/ohmyzsh
# Oh My ZSH Theme
ZSH_THEME="pygmalion"
# Go Path
export GOPATH=${HOME}/go
# Path
export PATH="${GOPATH}/bin:${HOME}/.gem/ruby/2.2.0/bin:${HOME}/utils:${HOME}/bin:${PATH}"
# Plugins
plugins=(gem bundler composer git pip vagrant docker python extract)
plugins+=(npm systemd systemadmin frontend-search web-search gitignore)
plugins+=(command-not-found colored-man fabric tmux taskwarrior)
if [ $(uname -n) = "megumi" -o $(uname -n) = "kimari" -o $(uname -n) = "sayaka" ]; then
plugins+=(archlinux)
fi
if [ $(uname -n) = "mail" ]; then
plugins+=(debian)
fi
# Preferred editor for local and remote sessions
export EDITOR='nano'
# Load Oh My ZSH
source ${ZSH}/oh-my-zsh.sh
# Fix home/end key
bindkey "^[[1~" beginning-of-line
bindkey "^[[4~" end-of-line
# Source k.sh
source ${HOME}/dotfiles/lib/k/k.sh
# Shell Syntax Highlighter
source ${HOME}/dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
# Dircolors
eval `dircolors ${HOME}/dotfiles/zsh/dircolors`
# Source Aliases
source ${HOME}/dotfiles/zsh/alias.zsh
# Source FZF
[ -f ${HOME}/.fzf.zsh ] && source ${HOME}/.fzf.zsh
# Completions Path
fpath=(${HOME}/dotfiles/lib/completions/src $fpath)