diff --git a/.gitignore b/.gitignore index 12a4140..69dac05 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ docs/_build # Ignore the ahoy binary when it's built ahoy + .idea builds/* diff --git a/docs/index.md b/docs/index.md index 13f9346..41e8cbd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -54,10 +54,12 @@ sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/1.1.0/ahoy-`unam sudo wget -q https://github.com/ahoy-cli/ahoy/releases/download/2.0.0/ahoy-bin-`uname -s`-amd64 -O /usr/local/bin/ahoy && sudo chown $USER /usr/local/bin/ahoy && chmod +x /usr/local/bin/ahoy ``` -### Bash / Zsh Completion -For Zsh, Just add this to your ~/.zshrc, and your completions will be relative to the directory you're in. +## Autocompletions -`complete -F "ahoy --generate-bash-completion" ahoy` +### Zsh +For Zsh completions, we have a standalone plugin available at [ahoy-cli/zsh-ahoy](https://github.com/ahoy-cli/zsh-ahoy). + +### Bash For Bash, you'll need to make sure you have bash-completion installed and setup. On OSX with homebrew it looks like this: