Skip to content

Commit

Permalink
Fix completion examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Nov 9, 2024
1 parent 9a14cf7 commit 7545ff4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,22 @@ Autocompletion is supported for providers and tags. To set up autocompletion:

### Bash Linux

```zsh
s --completion bash > /etc/bash_completion.d/s
```bash
sudo bash -c "s --completion bash > /etc/bash_completion.d/s"
```

### Bash MacOS

```zsh
s --completion bash > /usr/local/etc/bash_completion.d/s
```bash
sudo bash -c "s --completion bash > /usr/local/etc/bash_completion.d/s"
```

### Zsh

Generate a `_s` completion script and put it somewhere in your `$fpath`:

```zsh
s --completion zsh > /usr/local/share/zsh/site-functions/_s
sudo zsh -c "s --completion zsh > /usr/local/share/zsh/site-functions/_s"
```

### Fish
Expand Down

0 comments on commit 7545ff4

Please sign in to comment.