zeesh/zeesh.zsh

33 lines
904 B
Bash
Raw Normal View History

2021-08-24 18:44:46 -07:00
source ~/.local/share/zeesh/base/breakerbox.zsh
2020-04-20 02:05:56 -07:00
source ~/.local/share/zeesh/base/zeesh.zsh
ticker_message "zeesh: bootstrap"
if [[ $cols -lt 80 ]]; then
if [[ $(uname -o) == "Android" ]]; then
hostemoji="📞"
else
hostemoji="🖥"
fi
PROMPT="👤%{$fg_bold[white]%}@${hostemoji} %~ %# %{$reset_color%}"
#else
# PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bold[white]%}%~ %# %{$reset_color%}"
# RPROMPT="%(?..%{$fg[red]%}%? )$RPROMPT"
fi
TMOUT=60
TRAPALRM () {
zle reset-prompt
}
2020-04-20 02:05:56 -07:00
2020-04-21 16:35:43 -07:00
source ~/.local/share/zeesh/base/precmd.zsh
source ~/.local/share/zeesh/base/prompt.zsh
2020-04-21 16:39:58 -07:00
source ~/.local/share/zeesh/base/updates.zsh
2020-04-21 16:35:43 -07:00
2020-06-23 21:51:10 -07:00
# TODO: handle whether or not to load given modules]
for module in ~/.local/share/zeesh/modules/*.zsh; do
2020-11-25 00:52:55 -08:00
ticker_message "zeesh: loading module $(basename ${module})"
2020-06-23 21:51:10 -07:00
source ${module}
done
2020-04-20 02:05:56 -07:00
ticker_finish