diff options
author | Adam Hovorka <[email protected]> | 2017-09-04 13:42:23 -0600 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2017-09-04 13:42:23 -0600 |
commit | 8ae9c465242c5e379877a15832043113021d714e (patch) | |
tree | e7d1eabb895ee5dc954dc88ca3d6896b0c8ffadc /base/zsh/prompt.zsh | |
parent | 8916659e0e1cb67b860373f2d094445bb1f657aa (diff) |
Switch from stowsh to dotbot
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 |