add alias to exit last ssh-connection
This commit is contained in:
parent
f2a2dbe7a4
commit
fedf3db1a3
1 changed files with 1 additions and 0 deletions
1
aliases
1
aliases
|
@ -12,6 +12,7 @@ alias viless='vim $(history -p \!less:$:t)'
|
||||||
alias cdlastfiledir='cd $(history -p \!\!:$:h)'
|
alias cdlastfiledir='cd $(history -p \!\!:$:h)'
|
||||||
#alias ssh='function f() { trap "reset; stty sane; tput rs1; clear; echo -e \"\033c\"" EXIT ; ssh $@; }; f $@'
|
#alias ssh='function f() { trap "reset; stty sane; tput rs1; clear; echo -e \"\033c\"" EXIT ; ssh $@; }; f $@'
|
||||||
alias s='sshs $(history -p \!ssh:$:t)'
|
alias s='sshs $(history -p \!ssh:$:t)'
|
||||||
|
alias sexit='ssh -O exit $(history -p \!ssh:$:t)'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue