diff --git a/cli/cli.go b/cli/cli.go index 8377c3fc..cea0b9ef 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -84,6 +84,7 @@ EXAMPLE: sudo mkdir -p /etc/bash_completion.d/ sudo cp %s /etc/bash_completion.d/abra echo "source /etc/bash_completion.d/abra" >> ~/.bashrc +source /etc/bash_completion.d/abra # To test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) case "zsh": @@ -92,6 +93,7 @@ echo "source /etc/bash_completion.d/abra" >> ~/.bashrc sudo mkdir -p /etc/zsh/completion.d/ sudo cp %s /etc/zsh/completion.d/abra echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra" >> ~/.zshrc +source /etc/zsh/completion.d/abra # to test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) case "fish": @@ -100,6 +102,7 @@ echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra sudo mkdir -p /etc/fish/completions sudo cp %s /etc/fish/completions/abra echo "source /etc/fish/completions/abra" >> ~/.config/fish/config.fish +source /etc/fish/completions/abra # to test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) }