aboutsummaryrefslogtreecommitdiff
path: root/zsh/.zsh/functions/preexec_update_git_vars
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zsh/functions/preexec_update_git_vars')
-rw-r--r--zsh/.zsh/functions/preexec_update_git_vars5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.zsh/functions/preexec_update_git_vars b/zsh/.zsh/functions/preexec_update_git_vars
new file mode 100644
index 0000000..998de21
--- /dev/null
+++ b/zsh/.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