zeesh/zeesh.zsh
Nicole O'Connor 8aa9b68189 env changes
2022-12-06 13:34:16 -08:00

32 lines
857 B
Bash

source ~/.local/share/zeesh/base/breakerbox.zsh
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
}
source ~/.local/share/zeesh/base/precmd.zsh
source ~/.local/share/zeesh/base/updates.zsh
# TODO: handle whether or not to load given modules]
for module in ~/.local/share/zeesh/modules/*.zsh; do
ticker_message "zeesh: loading module $(basename ${module})"
source ${module}
done
ticker_finish