diff --git a/cli/cli.go b/cli/cli.go index 6b971ade..fa2d2d9b 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -81,7 +81,7 @@ EXAMPLE: case "bash": fmt.Println(fmt.Sprintf(` # run the following commands to install auto-completion -sudo mkdir /etc/bash_completion.d/ +sudo mkdir -p /etc/bash_completion.d/ sudo cp %s /etc/bash_completion.d/abra echo "source /etc/bash_completion.d/abra" >> ~/.bashrc # To test, run the following: "abra app " - you should see command completion! @@ -89,7 +89,7 @@ echo "source /etc/bash_completion.d/abra" >> ~/.bashrc case "zsh": fmt.Println(fmt.Sprintf(` # run the following commands to install auto-completion -sudo mkdir /etc/zsh/completion.d/ +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 # to test, run the following: "abra app " - you should see command completion!