Permalink
Browse files

don't show working tree status in zsh prompt

  • Loading branch information...
1 parent 70af3b1 commit 26c444c0e93b6acb7a93bae20d853bfd8a566024 @garybernhardt committed Aug 1, 2013
Showing with 22 additions and 22 deletions.
  1. +22 −22 .zsh/func/prompt_grb_setup
View
@@ -311,28 +311,28 @@ prompt_wunjo_scm_branch() {
echo -n "$pc[punc]$pc[scm_branch]$(zgit_head)"
- if zgit_inworktree; then
- if ! zgit_isindexclean; then
- echo -n "$pc[scm_status_staged]+"
- fi
-
- local -a dirty
- if ! zgit_isworktreeclean; then
- dirty+='!'
- fi
-
- if zgit_hasunmerged; then
- dirty+='*'
- fi
-
- if zgit_hasuntracked; then
- dirty+='?'
- fi
-
- if [ $#dirty -gt 0 ]; then
- echo -n "$pc[scm_status_dirty]${(j::)dirty}"
- fi
- fi
+ #if zgit_inworktree; then
+ # if ! zgit_isindexclean; then
+ # echo -n "$pc[scm_status_staged]+"
+ # fi
+
+ # local -a dirty
+ # if ! zgit_isworktreeclean; then
+ # dirty+='!'
+ # fi
+
+ # if zgit_hasunmerged; then
+ # dirty+='*'
+ # fi
+
+ # if zgit_hasuntracked; then
+ # dirty+='?'
+ # fi
+
+ # if [ $#dirty -gt 0 ]; then
+ # echo -n "$pc[scm_status_dirty]${(j::)dirty}"
+ # fi
+ #fi
echo $pc[reset]
}

0 comments on commit 26c444c

Please sign in to comment.