From 63bbc2e2ea8c0a5a26571b95f6b61e6f6a39b0ab Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 6 Jan 2012 16:02:15 +0100 Subject: ZSH: Change prompt again Change the prompt and divide into extra files. --- .zsh/functions/preexec_update_vars | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .zsh/functions/preexec_update_vars (limited to '.zsh/functions/preexec_update_vars') diff --git a/.zsh/functions/preexec_update_vars b/.zsh/functions/preexec_update_vars new file mode 100644 index 0000000..70f3d68 --- /dev/null +++ b/.zsh/functions/preexec_update_vars @@ -0,0 +1,12 @@ +# -*- mode: shell-script -*- +case "$1" in + git*) + __EXECUTED_GIT_COMMAND=1 + ;; + cower) + __EXECUTED_COWER_COMMAND=1 + ;; + pacman) + __EXECUTED_PACMAN_COMMAND=1 + ;; +esac -- cgit v1.2.3-54-g00ecf