1
0
Fork 0

tvim support, cleanup and better s() func

This commit is contained in:
Von Random 2018-07-06 00:33:07 +03:00
parent b992f92516
commit 6b4fe587cd
3 changed files with 14 additions and 14 deletions

8
zshrc
View file

@ -236,10 +236,10 @@ s() {
local -A terms tempterm ssh
ssh=$(whence ssh)
terms=(
'st' 'xterm'
'tmux' 'screen'
'rxvt-unicode-256color' 'rxvt-unicode'
'st-256color' 'xterm-256color'
'tmux-256color' 'screen-256color'
)
tempterm=${TERM%%-256color}
TERM=${TERMS[$tempterm]-$tempterm} $ssh "$@"
TERM=${terms[$TERM]-$TERM} $ssh "$@"
}
# }}}