-
Notifications
You must be signed in to change notification settings - Fork 264
Autocompletion bash & zsh
Victor GRENU edited this page May 5, 2018
·
3 revisions
You can easily generate awless
completion, either for bash or zsh.
For Mac OS X, with brew
$ brew install bash-completion
$ echo '[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion' >> ~/.bashrc
$ awless completion bash > /usr/local/etc/bash_completion.d/awless
For Ubuntu
$ sudo apt-get install bash-completion
$ awless completion bash | sudo tee /etc/bash_completion.d/awless > /dev/null
Test once with
$ source <(awless completion zsh)
Then add it to your ~/.zshrc by running:
$ echo 'source <(awless completion zsh)\n' >> ~/.zshrc