summaryrefslogtreecommitdiff
path: root/.zsh/zshrc/80_prompt
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-08 13:57:13 +0100
committerTobias Klauser <tklauser@distanz.ch>2011-03-08 13:57:13 +0100
commit25aa705bc21c3941020361bfd78c8174df4cd46b (patch)
tree9b0cd4e444f55352eececb97cedc632ea1ed9abf /.zsh/zshrc/80_prompt
parent85becf3e448456aea56287dda818576f18309f4b (diff)
define PS2, PS3, PS4, setopt prompt_subst move
Diffstat (limited to '.zsh/zshrc/80_prompt')
-rw-r--r--.zsh/zshrc/80_prompt5
1 files changed, 3 insertions, 2 deletions
diff --git a/.zsh/zshrc/80_prompt b/.zsh/zshrc/80_prompt
index b70e0ae..858c166 100644
--- a/.zsh/zshrc/80_prompt
+++ b/.zsh/zshrc/80_prompt
@@ -13,9 +13,10 @@ if autoload promptinit && promptinit 2>/dev/null ; then
promptinit
fi
-setopt prompt_subst
-
EXITCODE="%(?..%?%1v )"
+PS2='\`%_> '
+PS3='?# '
+PS4='+%N:%i:%_> '
# set variable debian_chroot if running in a chroot with /etc/debian_chroot
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then