Created
March 20, 2019 12:12
-
-
Save mknkisk/83de8b58a7e244a0cf09b6b342fe4de3 to your computer and use it in GitHub Desktop.
bin/ssh-change-profile.sh
This file contains 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
#!/bin/bash | |
# set profile | |
echo -ne "\033]1337;SetProfile=Remote\a" | |
# ssh login | |
/usr/bin/ssh "$@" | |
# set profile(default) | |
echo -ne "\033]1337;SetProfile=Default\a" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment