diff options
Diffstat (limited to 'base/zsh/prompt.zsh')
-rw-r--r-- | base/zsh/prompt.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/zsh/prompt.zsh b/base/zsh/prompt.zsh new file mode 100644 index 0000000..2e4dca9 --- /dev/null +++ b/base/zsh/prompt.zsh @@ -0,0 +1,6 @@ +if [[ `tty | sed -ne "\_^/dev/tty[0-9]*_p"` ]]; then + PROMPT='%F{0}%B[ %F{6}%b%M %B%1~ %F{0}]%(!.#.$)%f%b ' +else + autoload -U promptinit && promptinit + prompt pure +fi |