get rid of $TERM re-exporting + add support for non-256color vim, long overdue
This commit is contained in:
parent
08600a8cac
commit
d5ecb4a96d
5 changed files with 8 additions and 12 deletions
5
zshrc
5
zshrc
|
@ -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 "
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue