aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/zsh/functions/preexec_update_git_vars
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/zsh/functions/preexec_update_git_vars')
-rwxr-xr-xdotfiles/zsh/functions/preexec_update_git_vars5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/zsh/functions/preexec_update_git_vars b/dotfiles/zsh/functions/preexec_update_git_vars
new file mode 100755
index 0000000..998de21
--- /dev/null
+++ b/dotfiles/zsh/functions/preexec_update_git_vars
@@ -0,0 +1,5 @@
+case "$1" in
+ git*)
+ __EXECUTED_GIT_COMMAND=1
+ ;;
+esac \ No newline at end of file