docs: how to enable bash autocomplete from source
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
75fb9a2774
commit
e820e0219d
@ -50,6 +50,13 @@ sudo cp scripts/autocomplete/bash /etc/bash_completion.d/abra
|
||||
source /etc/bash_completion.d/abra
|
||||
```
|
||||
|
||||
In development, you can source the script in your git checkout, just make sure
|
||||
to set `PROG=abra`, otherwise it'll add completion to the wrong command:
|
||||
|
||||
```
|
||||
PROG=abra source /path/to/abra/scripts/autocomplete/bash
|
||||
```
|
||||
|
||||
**(fi)zsh**
|
||||
|
||||
(fi)zsh doesn't have an autocompletion folder by default but you can create one, then copy `scripts/autocomplete/zsh` into it and add a couple lines to your `~/.zshrc` or `~/.fizsh/.fizshrc`
|
||||
|
Loading…
Reference in New Issue
Block a user