zeesh/zshrc-stub

27 lines
650 B
Bash

# vim: ft=zsh :
autoload -U colors && colors
PROMPT="%{$fg[cyan]%}%n%{$fg[white]%}@%{$fg[magenta]%}%m %{$fg[white]%}%~ %# "
RPROMPT="%{$fg_bold[black]%}%T%{$reset_color%}"
_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[@]}"
)
source ~/.local/share/zeesh/zeesh.zsh