Skip to content

Instantly share code, notes, and snippets.

@ericnkatz
Created December 5, 2014 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericnkatz/29509fb1ab9c69bef902 to your computer and use it in GitHub Desktop.
Save ericnkatz/29509fb1ab9c69bef902 to your computer and use it in GitHub Desktop.
NO one else will find this useful but - forge command for 'ssh forge@domain.com' - just 'forge domain.com'
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