aboutsummaryrefslogtreecommitdiff
path: root/base/zsh/prompt.zsh
blob: 1918298f62e9cbaade7be2d57f9664f9e624b5ba (plain)
1
2
3
4
5
6
7
8
if [[ `tty | sed -ne "\_^/dev/tty[0-9]*_p"` ]]; then
  PROMPT='%F{0}%B[ %F{6}%b%M %B%1~ %F{0}]%(!.#.$)%f%b '
elif [[ "$COOL_RETRO_TERM" ]]; then
  PROMPT='%F{0}%B %B%1~ %F{0}%(!.#.$)%f%b '
else
  autoload -U promptinit && promptinit
  prompt pure
fi