Is it possible to make a bash alias, which would be able to prompt me for tab-completion of a set of directories?
let's say I have a number of source code controlled projects, main path of each located under
Now, I have created a Bash alias, which allows more convenient switching:
will attempt to
cd ~/projs/<projname>/trunk regardless of where I am in file system.
Is it possible to somehow get tab completion prompt for
<projname> as I write
go-to[space][Tab] so I could see which projnames I have available?
(This is recent Ubuntu distro)