~tonio/+junk/zsh

« back to all changes in this revision

Viewing changes to zshrc

  • Committer: Anthony Mercatante
  • Date: 2010-03-08 15:25:59 UTC
  • Revision ID: tonio@kubuntu-20100308152559-4edyv8hk92m78yyu
Added mercurial support

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
      fi
163
163
    fi
164
164
 
 
165
    if [[ $HG_SUPPORT == "yes" ]] && [[ -x `which hg` ]] && [ ! -n "$psvar[2]" ] ; then
 
166
      rev="$(env LC_ALL=C hg tip | grep "^changeset:" | awk '{print $2}')"
 
167
      if [ -n "$rev" ] ; then
 
168
        psvar[2]="(hg:$rev) "
 
169
      fi
 
170
    fi
165
171
 
166
172
  # Windows title support
167
173
  case $TERM in