You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
327 B
Fish
13 lines
327 B
Fish
10 years ago
|
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
|