added linux terminfo settings to .zshrc
This commit is contained in:
parent
e12367684f
commit
d39e2cf7c9
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
|
@ -188,6 +188,10 @@ alias xterm=$TERMINAL
|
||||||
|
|
||||||
# I use xterm and this sets a nice title with hostname and cwd in it.
|
# I use xterm and this sets a nice title with hostname and cwd in it.
|
||||||
case $TERM in
|
case $TERM in
|
||||||
|
linux)
|
||||||
|
export TERM=linux-16color
|
||||||
|
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
||||||
|
;;
|
||||||
xterm*)
|
xterm*)
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue