Skip to content

Commit 6e7244d

Browse files
authored
Prioritize zsh content in tab completion docs (#173)
1 parent 7f528af commit 6e7244d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/reference/cli/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ Completion is achieved by saving a script and then executing it as a part of you
1414

1515
Afterward, you'll need to start a new shell in order for the changes to take effect.
1616

17-
/// tab | bash
17+
/// tab | zsh
1818
Save the script somewhere:
1919

2020
```console
21-
_DDA_COMPLETE=bash_source dda > ~/.dda-complete.bash
21+
_DDA_COMPLETE=zsh_source dda > ~/.dda-complete.zsh
2222
```
2323

24-
Source the file in `~/.bashrc` (or `~/.bash_profile` if on macOS):
24+
Source the file in `~/.zshrc`:
2525

2626
```console
27-
. ~/.dda-complete.bash
27+
. ~/.dda-complete.zsh
2828
```
2929
///
3030

31-
/// tab | zsh
31+
/// tab | bash
3232
Save the script somewhere:
3333

3434
```console
35-
_DDA_COMPLETE=zsh_source dda > ~/.dda-complete.zsh
35+
_DDA_COMPLETE=bash_source dda > ~/.dda-complete.bash
3636
```
3737

38-
Source the file in `~/.zshrc`:
38+
Source the file in `~/.bashrc` (or `~/.bash_profile` if on macOS):
3939

4040
```console
41-
. ~/.dda-complete.zsh
41+
. ~/.dda-complete.bash
4242
```
4343
///
4444

0 commit comments

Comments
 (0)