From b4a27775eb01896c1d2a8e958adffece07eabe5b Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 26 Sep 2007 16:30:53 +0200 Subject: Keybinding set to display real git-status. --- 01_Functions.zsh | 1 + user:hugues/KeyBindings.zsh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3