diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2007-11-29 15:10:31 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:19 +0100 |
commit | 59cf70dbe4de474011df5cef9f607fa283ca0204 (patch) | |
tree | 5b26ff31bd0fff40a31ff16f2fe0b43e79058119 | |
parent | ebb5cd4c8f9d7d841636ed14004265b01a33f66e (diff) |
Lighten git-status managment on zsh...
-rw-r--r-- | 01_Functions.zsh | 7 | ||||
-rw-r--r-- | 11_Prompts.zsh | 4 | ||||
-rw-r--r-- | user:hugues/KeyBindings.zsh | 2 |
3 files changed, 3 insertions, 10 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index e0e1770..14db560 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -42,13 +42,6 @@ get_git_branch () echo $(git branch 2>&- | grep -E '^\* ' | cut -c3-) } -get_git_status () -{ - git-status - GITCHECK="yes" - check_git_status -} - check_git_status () { ## GIT TRACKING ## diff --git a/11_Prompts.zsh b/11_Prompts.zsh index 795ffc6..8265210 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -77,8 +77,8 @@ preexec () print -Pn "$C_$COLOR_EXEC$_C" } -#GITCHECK=${GITCHECK:-yeah} -#SVNCHECK=${SVNCHECK:-yeah} +GITCHECK=${GITCHECK:-} +#SVNCHECK=${SVNCHECK:-} #unset GITCHECK SVNCHECK precmd () diff --git a/user:hugues/KeyBindings.zsh b/user:hugues/KeyBindings.zsh index 274825b..3db363e 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\n" bindkey -s "G" " GITCHECK= GITBRANCH=\n" |