1
0
Fork 0

get rid of $TERM re-exporting + add support for non-256color vim, long overdue

This commit is contained in:
Von Random 2014-10-14 19:16:56 +04:00
parent 08600a8cac
commit d5ecb4a96d
5 changed files with 8 additions and 12 deletions

5
zshrc
View file

@ -37,11 +37,6 @@ export LANG="$LC_ALL"
export PAGER='less'
export EDITOR='vim'
# ---> colors
if [[ $OSTYPE == linux-gnu ]] && [[ $TERM == screen || $TERM == xterm || $TERM == rxvt-unicode ]]; then
export TERM="$TERM-256color"
fi
# ---> prompt
PROMPT="%B%(!..%(1000#..%F{red}%n%f@))%F{blue}%m%f %F{white}%~%f %(1j.+%F{red}%j%f.)%(!.%F{red}.%F{green})%#%f%b "