You are not logged in.
I have a really cheesy alias basically to use to cd into directory in public_html
cdw() {
cd ~/public_html/$*
}
how do I get that to use autocomplete with it?
Thanks
Offline
you'll have to write a completion file under /etc/bash_completion.d/. you can take a look at some of the ones in there for examples (try to find a simple one).
you basically have to build a list of what to complete (probably ~/public_html/* in your case), then hand that off to a completion function, source the file and try it.
//github/
Offline