Skip to content

Commit

Permalink
Merge pull request #95 from tomasaschan/patch-1
Browse files Browse the repository at this point in the history
Fix completion guide for Bash
  • Loading branch information
danielfoehrKn authored Nov 27, 2023
2 parents dbe05ea + d2929e0 commit 2e580bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e580bf

Please sign in to comment.