diff --git a/docs/installation.md b/docs/installation.md index ae414173..25818e9f 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -63,8 +63,8 @@ Additionally, installs the command completion script. echo 'source <(switcher init bash)' >> ~/.bashrc # optionally use alias `s` instead of `switch` -echo 'source <(alias s=switch)' >> ~/.bashrc -echo 'source <(compdef _switcher switch)' >> ~/.bashrc +echo 'alias s=switch' >> ~/.bashrc +echo 'complete -o default -F _switcher s' >> ~/.bashrc ``` ### Zsh ```sh