Bash completion for Derw
- Clone this repo
- Source the
_derw_completions.sh
files in your~/.bashrc
or~/.bash_profile
, usingsource
- Restart bash or open a new terminal session
If you're using Linux, you probably want .bashrc
. If you're using OS X, you probably want .bash_profile
.
Example .bashrc or .bash_profile file:
for f in ~/dev/derw-bash-completion/_*; do source $f; done
Use bashcompinit
.
autoload bashcompinit
bashcompinit
for f in ~/dev/derw-bash-completion/_*; do source $f; done