Skip to content

Instantly share code, notes, and snippets.

@josh-taylor
Created July 31, 2013 08:01
Show Gist options
  • Save josh-taylor/6120182 to your computer and use it in GitHub Desktop.
Save josh-taylor/6120182 to your computer and use it in GitHub Desktop.
Bash function so that I can change directory to any vhost using a short command
function s {
cd /Users/Josh/Server/vhosts/$1.dev/httpdocs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment