Last active
March 1, 2017 17:17
-
-
Save ichizok/c6b1019301ce2d53977a15a0afc4da52 to your computer and use it in GitHub Desktop.
restore window name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # restore window name | |
| [[ "$@" =~ BatchMode=yes ]] || echo -ne '\e[22;0t' | |
| command ssh "$@" | |
| [[ "$@" =~ BatchMode=yes ]] || echo -ne '\e[23;0t' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment