by coenhyde · 15y ago · 0 comments
function to {
cd ~/Sites/$1/
}
eg. cd ~/Sites/coenhyde.com$ to coenhyde.com
> alias to='cd ~/Sites/'
Edit: On testing it doesn't work. 'to sitename' just goes straight to ~/Sites/. I knew there must have been a reason i used a function instead of an alias.