diff options
author | Tom Willemsen | 2010-12-05 12:50:00 +0100 |
---|---|---|
committer | Tom Willemsen | 2010-12-05 12:50:00 +0100 |
commit | 2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f (patch) | |
tree | 3a47031a15b24e94d4a0bde2d9902719c4a74a60 /zsh/functions/precmd_update_git_vars | |
parent | deb52fd1bf81f52a8a7158bee4f3bed884bc341f (diff) | |
download | dotfiles-2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f.tar.gz dotfiles-2527e1a0d10daf42bbe2f9fd25fe81b38d26ef8f.zip |
Added zsh configuration
Diffstat (limited to 'zsh/functions/precmd_update_git_vars')
-rwxr-xr-x | zsh/functions/precmd_update_git_vars | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/functions/precmd_update_git_vars b/zsh/functions/precmd_update_git_vars new file mode 100755 index 0000000..172456a --- /dev/null +++ b/zsh/functions/precmd_update_git_vars @@ -0,0 +1,6 @@ +# -*- mode: shell-script -*- + +if [ -n "$__EXECUTED_GIT_COMMAND" ]; then + update_current_git_vars + unset __EXECUTED_GIT_COMMAND +fi |