summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/00_opts2
-rw-r--r--.zsh/zshrc/80_prompt5
2 files changed, 5 insertions, 2 deletions
diff --git a/.zsh/zshrc/00_opts b/.zsh/zshrc/00_opts
index aadce9e..9d4dc14 100644
--- a/.zsh/zshrc/00_opts
+++ b/.zsh/zshrc/00_opts
@@ -14,4 +14,6 @@ setopt auto_cd
# Silence!
setopt nobeep
+setopt prompt_subst
+
# vim:ft=zsh
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