https://github.com/gavindsouza/bench-autocomplete
Autocomplete scripts for Bench
https://github.com/gavindsouza/bench-autocomplete
Last synced: 3 months ago
JSON representation
Autocomplete scripts for Bench
- Host: GitHub
- URL: https://github.com/gavindsouza/bench-autocomplete
- Owner: gavindsouza
- Created: 2019-11-07T10:28:15.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T10:21:41.000Z (11 months ago)
- Last Synced: 2025-01-15T14:18:24.775Z (4 months ago)
- Size: 14.6 KB
- Stars: 5
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AutoCompletions for the Bench CLI
Started this project because I wasn't happy with `completion.sh` that Bench ships with, or Click's auto completions due to how [Frappe](https://frappeframework.com), [Bench](https://github.com/frappe/bench) & external apps' commands work together. Currently we are working only on `zsh` completions. Mostly because it helps vastly during development.
### Installation
Just copy pasting the following block in your zsh terminal and restarting your session should do the trick:
```sh
git clone https://github.com/gavindsouza/bench-autocomplete ~/.bench-autocomplete
cp ~/.bench-autocomplete/zsh/_bench /usr/local/share/zsh/site-functions/_bench
echo 'rm -f ~/.zcompdump; compinit' >> ~/.zshrc
```