Created
July 17, 2014 13:53
-
-
Save evilstreak/5a968597c0892f4bdbbe to your computer and use it in GitHub Desktop.
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 ssh-govuk-dev { | |
if [[ $PWD = ~/code/gds/* ]]; then | |
ssh dev -t "cd /var/govuk/$(basename $PWD); bash --login" | |
else | |
ssh dev | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment