summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-07 11:21:19 +0100
committerTobias Klauser <tklauser@distanz.ch>2011-03-07 11:21:19 +0100
commite4bbf8e944397a7b7ad2d8e37729c323017ec79d (patch)
treea7ddd543c10b1cb8f18f728d5c76f03b7660c05d /.zsh/zshrc
parent8a36bdfe9a31442e642b70bf0e40706cf55e13bd (diff)
promptinit
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/80_prompt4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh/zshrc/80_prompt b/.zsh/zshrc/80_prompt
index 4980d42..cb6cca0 100644
--- a/.zsh/zshrc/80_prompt
+++ b/.zsh/zshrc/80_prompt
@@ -9,6 +9,10 @@
# Based on the zsh setup by martin f. krafft which can be found at:
# git://git.madduck.net/etc/zsh.git
+if autoload promptinit && promptinit 2>/dev/null ; then
+ promptinit
+fi
+
EXITCODE="%(?..%?%1v )"
# set variable debian_chroot if running in a chroot with /etc/debian_chroot