Mercurial > dotfiles
comparison .shell.d/99.prompt.zsh @ 272:02b635053e8f
zsh prompt: allow fancy prompt mode on xterm-256color as well
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Thu, 23 Feb 2012 17:08:49 -0600 |
| parents | e189dfb33bfa |
| children | 0ceb8554801e |
comparison
equal
deleted
inserted
replaced
| 271:79a64ef88a6b | 272:02b635053e8f |
|---|---|
| 46 fi | 46 fi |
| 47 | 47 |
| 48 | 48 |
| 49 export FANCYTYPE="NO" | 49 export FANCYTYPE="NO" |
| 50 | 50 |
| 51 for ok in rxvt rxvt-unicode xterm xterm-color screen ; do | 51 for ok in rxvt rxvt-unicode xterm xterm-256color xterm-color screen ; do |
| 52 if [ "$TERM" = "$ok" ] ; then | 52 if [ "$TERM" = "$ok" ] ; then |
| 53 export FANCYTYPE="YES" | 53 export FANCYTYPE="YES" |
| 54 fi | 54 fi |
| 55 done | 55 done |
| 56 | 56 |
