bash completion for dmd and rdmd

Nick Sabalausky a at a.a
Sun Sep 12 11:27:06 PDT 2010


"Lutger" <lutger.blijdestijn at gmail.com> wrote in message 
news:i6isov$v0h$1 at digitalmars.com...
> It's ugly but it seems to work: 
> http://dl.dropbox.com/u/6777848/d-completion.sh
>
> Put it in /etc/bash_completion.d/ or (preferably) invoke it from ~/.bashrc 
> or
> ~/.bash_profile:
>
> . d-completion.sh
>
> It will enable autocomplete for dmd and rdmd in bash. You may need to 
> install
> the bash-completion package of your distro.

Ahh, cool! I'd often wondered how autocomplete in bash often seems to work 
even for non-files. (Yea, not exactly a Unix-guru here ;) ) 




More information about the Digitalmars-d-announce mailing list