zeesh/zshrc-stub

24 lines
587 B
Plaintext
Raw Normal View History

2020-04-19 12:02:41 -07:00
# vim: ft=zsh :
2020-04-19 12:16:56 -07:00
autoload -U colors && colors
PROMPT="%{$fg[cyan]%}%n%{$fg[white]%}@%{$fg[magenta]%}%m %{$fg[white]%}%~ %# "
2020-04-19 12:02:41 -07:00
RPROMPT="%{$fg_bold[black]%}%T%{$reset_color%}"
2020-04-19 12:16:56 -07:00
if [[ ! -d ~/.local/share/zeesh ]]; then
if type git &> /dev/null; then
printf "zeesh: installing"
git clone git://vcs.lavacano.net/zeesh.git ~/.local/share/zeesh &> ~/zeesh-install.log
else
printf "zeesh: cannot install without git\n"
return
fi
2020-04-19 12:16:56 -07:00
fi
2020-04-19 12:27:49 -07:00
2020-04-20 02:05:56 -07:00
# kick things off
fpath=(
~/.local/share/zeesh/plugins
"${fpath[@]}"
)
2020-04-21 16:43:03 -07:00
source ~/.local/share/zeesh/zeesh.zsh