summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--01_Functions.zsh1
-rw-r--r--user:hugues/KeyBindings.zsh2
2 files changed, 2 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 810a04e..a8973e7 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -25,6 +25,7 @@ get_git_status ()
if [ "$GITCHECK" != "" ]
then
GITBRANCH=$(get_git_branch);
+ TEE=""
if [ "$GITBRANCH" != "" ]
then
preprint "Checking git status..."
diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh
index 4dc48e7..b384ed5 100644
--- a/user:hugues/KeyBindings.zsh
+++ b/user:hugues/KeyBindings.zsh
@@ -218,5 +218,5 @@ bindkey -s "l" "  l\n"
bindkey -s " " "\\\\ "
-bindkey -s "g" "  get_git_status\n"
+bindkey -s "g" "  git-status && get_git_status\n"
bindkey -s "G" "  GITBRANCH=\n"