about summary refs log tree commit diff
path: root/home/shell/zsh/prompt.zsh
blob: 291f4366c210dd9a98f814e8b246c1e9b737464f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
setopt prompt_subst

PROMPT='%K{cyan}%F{black}%m%k%f %~ %% '

# For tramp (emacs).
if [ "$TERM" = "dumb" ]; then
  unset PROMPT
  PS1='$ '
  unsetopt zle
fi