61 lines
1.5 KiB
Bash
61 lines
1.5 KiB
Bash
# Oh My ZSH Path
|
|
export ZSH=${HOME}/dotfiles/lib/ohmyzsh
|
|
|
|
# Oh My ZSH Theme
|
|
ZSH_THEME="mortalscumbag"
|
|
|
|
# Disable Auto Update of Oh My ZSH
|
|
DISABLE_AUTO_UPDATE="true"
|
|
|
|
# Go Path
|
|
export GOPATH=${HOME}/go
|
|
|
|
# Path
|
|
export PATH="${GOPATH}/bin:${HOME}/.gem/ruby/2.2.0/bin:${HOME}/dotfiles/lib/util:${HOME}/dotfiles/lib/dasht/bin:${PATH}"
|
|
|
|
# Dasht
|
|
export DASHT_DOCSETS_DIR=$HOME/.local/share/Zeal/Zeal/docsets
|
|
|
|
# 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)
|
|
|
|
if [ $(uname -n) = "megumi" -o $(uname -n) = "kimari" -o $(uname -n) = "sayaka" ]; then
|
|
plugins+=(archlinux)
|
|
fi
|
|
if [ $(uname -n) = "mx" -o $(uname -n) = "git" ]; 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 at work
|
|
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/aliases.zsh
|
|
|
|
# Source FZF
|
|
[ -f ${HOME}/.fzf.zsh ] && source ${HOME}/.fzf.zsh
|
|
|
|
# Completions Path
|
|
fpath=(${HOME}/dotfiles/lib/completions/src $fpath)
|
|
|
|
# Source local zshrc
|
|
[ -f ${HOME}/local.zshrc ] && source ${HOME}/local.zshrc
|