diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-05-17 10:49:24 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-05-17 10:49:24 +0200 |
commit | e0cb375ce1ce82223952e1cf00400d2cd9dc7b36 (patch) | |
tree | 2ebc3bd7b165f53aaab7cc1c24083f8e723706c6 /12_Prompts.zsh | |
parent | 549d5eaf130f608e21688ef21487eb7ca8f2e564 (diff) |
[Git] Improves speed for NFS folders..
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index f5ec34f..3b94f03 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -204,6 +204,7 @@ __vcsbranch () # get git status # + export GIT_DIR=$(git rev-parse --git-dir 2>&-) GITBRANCH=$(__get_gcl_branch git) GITBRANCHSIZE=${#GITBRANCH} [ $GITBRANCHSIZE -gt 0 ] && GITBRANCHSIZE=$(($GITBRANCHSIZE)) |