zeesh/zshrc-stub

27 lines
642 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
2020-04-21 16:58:05 -07:00
_zeesh_fresh_install=0
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
2020-04-21 16:58:05 -07:00
_zeesh_fresh_install=1
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