From 41dca31756298ef9803172e6e982e554665258f9 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 9 Nov 2012 10:44:45 +0100 Subject: Move ZSH configs --- .config/zsh/functions/preexec_update_vars | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/zsh/functions/preexec_update_vars (limited to '.config/zsh/functions/preexec_update_vars') diff --git a/.config/zsh/functions/preexec_update_vars b/.config/zsh/functions/preexec_update_vars new file mode 100644 index 0000000..105d240 --- /dev/null +++ b/.config/zsh/functions/preexec_update_vars @@ -0,0 +1,13 @@ +# -*- 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