Created
October 31, 2014 18:48
-
-
Save aprescott/1705d11ac5091a447311 to your computer and use it in GitHub Desktop.
automatically switch Terminal.app to a specific profile before ssh'ing
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
function prodssh { osascript -e 'tell application "Terminal" to set current settings of selected tab of window 1 to settings set "Red Sands"' && ssh "$@"; } | |
# prodssh yourserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment