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

13 lines
327 B
Fish
Raw Normal View History

2014-11-29 23:44:25 +08:00
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