Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 736 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 736 Bytes

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, 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:

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