mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-03 23:37:11 +08:00
13 lines
327 B
Fish
13 lines
327 B
Fish
|
function ssh --description 'OpenSSH SSH client (remote login program) with a conservative $TERM value'
|
||
|
switch $TERM
|
||
|
case screen-256color
|
||
|
set -l -x TERM screen
|
||
|
command ssh $argv
|
||
|
case xterm-256color
|
||
|
set -l -x TERM xterm
|
||
|
command ssh $argv
|
||
|
case '*'
|
||
|
command ssh $argv
|
||
|
end
|
||
|
end
|