Have a couple quick bash functions that let me get to folders I use often:
function dp() {
cd ~/Development/Personal/$1
}
function dw() {
cd ~/Development/Work/$1
}
So I can type dp some-project to go directly to a personal project for example. It would be killer if I could get tab-completion working on the function argument so it automatically pulled in filenames from the directory I'm going to navigate to, but I can't seem to figure it out...
Ideally I could just type dp b{tab} and get dp blog for example, where blog is a folder in the ~/Development/Personal/ directory.
Anyone know how to make this work? I'm using ZSH if it matters!