oh-my-fish/plugins/ssh/ssh.fish

13 lines
313 B
Fish
Raw Normal View History

2014-11-29 15:44:25 +00:00
function ssh --description 'OpenSSH SSH client (remote login program) with a conservative $TERM value'
switch $TERM
case screen-256color
set -lx TERM screen
command ssh $argv
2014-11-29 15:44:25 +00:00
case xterm-256color
set -lx TERM xterm
command ssh $argv
case '*'
2014-11-29 15:44:25 +00:00
command ssh $argv
end
2014-11-29 15:44:25 +00:00
end