2020-04-19 12:02:41 -07:00
|
|
|
# vim: ft=zsh :
|
|
|
|
|
2023-04-04 12:50:14 -07:00
|
|
|
# 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.
|
|
|
|
|
2020-04-19 12:16:56 -07:00
|
|
|
autoload -U colors && colors
|
|
|
|
|
|
|
|
PROMPT="%{$fg[cyan]%}%n%{$fg[white]%}@%{$fg[magenta]%}%m %{$fg[white]%}%~ %# "
|
2023-06-30 17:04:40 -07:00
|
|
|
RPROMPT=""
|
2020-04-19 12:16:56 -07:00
|
|
|
|
2020-04-21 16:58:05 -07:00
|
|
|
_zeesh_fresh_install=0
|
|
|
|
|
2020-04-21 16:53:57 -07:00
|
|
|
if [[ ! -d ~/.local/share/zeesh ]]; then
|
|
|
|
if type git &> /dev/null; then
|
|
|
|
printf "zeesh: installing"
|
2022-10-09 14:32:21 -07:00
|
|
|
git clone https://vcs.otl-hga.net/nicole/zeesh.git ~/.local/share/zeesh &> ~/zeesh-install.log
|
2020-04-21 16:58:05 -07:00
|
|
|
_zeesh_fresh_install=1
|
2020-04-21 16:53:57 -07:00
|
|
|
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[@]}"
|
|
|
|
)
|
2023-06-30 16:23:45 -07:00
|
|
|
[[ -f ~/.zshrc.preload ]] && source ~/.zshrc.preload
|
2020-04-21 16:43:03 -07:00
|
|
|
source ~/.local/share/zeesh/zeesh.zsh
|
2023-04-04 12:50:14 -07:00
|
|
|
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|