Skip to content

Commit b2d031c

Browse files
README: remove ../local/.. from auto-completion setup command (#181)
1 parent 3821624 commit b2d031c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,11 @@ If you are experiencing issues with *tldr*, consider deleting the cache files be
9595
```bash
9696
# bash
9797
tldr --print-completion bash | sudo tee "$BASH_COMPLETION_COMPAT_DIR"/tldr
98-
# zsh
98+
# zsh (it is recommended to check where zsh/site-functions directory is located)
99+
## for macOS:
99100
tldr --print-completion zsh | sudo tee /usr/local/share/zsh/site-functions/_tldr
101+
## for Linux:
102+
tldr --print-completion zsh | sudo tee /usr/share/zsh/site-functions/_tldr
100103
```
101104

102105
See the `shtab` [docs](https://pypi.org/project/shtab/#usage) for other installation methods.

0 commit comments

Comments
 (0)