summaryrefslogtreecommitdiffstats
path: root/zsh/functions/preexec_update_git_vars
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2010-12-05 12:50:00 +0100
committerGravatar Tom Willemsen2010-12-05 12:50:00 +0100
commit2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f (patch)
tree3a47031a15b24e94d4a0bde2d9902719c4a74a60 /zsh/functions/preexec_update_git_vars
parentdeb52fd1bf81f52a8a7158bee4f3bed884bc341f (diff)
downloaddotfiles-2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f.tar.gz
dotfiles-2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f.zip
Added zsh configuration
Diffstat (limited to 'zsh/functions/preexec_update_git_vars')
-rwxr-xr-xzsh/functions/preexec_update_git_vars6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/functions/preexec_update_git_vars b/zsh/functions/preexec_update_git_vars
new file mode 100755
index 0000000..9d229a9
--- /dev/null
+++ b/zsh/functions/preexec_update_git_vars
@@ -0,0 +1,6 @@
+# -*- mode: shell-script -*-
+case "$1" in
+ git*)
+ __EXECUTED_GIT_COMMAND=1
+ ;;
+esac