# vim: ft=zsh : # Hint: If you're looking to add things to zshrc, make a new file called .zshrc.local and # put your changes there to avoid it getting clobbered by zeesh updates. autoload -U colors && colors PROMPT="%{$fg[cyan]%}%n%{$fg[white]%}@%{$fg[magenta]%}%m %{$fg[white]%}%~ %# " RPROMPT="" _zeesh_fresh_install=0 if [[ ! -d ~/.local/share/zeesh ]]; then if type git &> /dev/null; then printf "zeesh: installing" git clone https://vcs.otl-hga.net/nicole/zeesh.git ~/.local/share/zeesh &> ~/zeesh-install.log _zeesh_fresh_install=1 else printf "zeesh: cannot install without git\n" return fi fi # kick things off fpath=( ~/.local/share/zeesh/plugins "${fpath[@]}" ) [[ -f ~/.zshrc.preload ]] && source ~/.zshrc.preload source ~/.local/share/zeesh/zeesh.zsh [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local