Created
December 5, 2014 17:01
-
-
Save ericnkatz/29509fb1ab9c69bef902 to your computer and use it in GitHub Desktop.
NO one else will find this useful but - forge command for 'ssh [email protected]' - just 'forge domain.com'
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
forge() { | |
if [ -z "$1" ] | |
then | |
echo -e "\e[0;33mNo Domain was supplied\e[0m" | |
else | |
echo -e "\e[0;33mLogging into forge@$1.\e[0m" | |
ssh forge@$*; | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment