Skip to content

Commit

Permalink
Move shell completion scripts to their own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Jan 17, 2022
1 parent b5443b7 commit 7d2b7bc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions docs/src/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ To enable the log output, set the `RUST_LOG` env variable:

## Autocompletion

- *Bash*: copy `bash_tealdeer` to `/usr/share/bash-completion/completions/tldr`
- *Fish*: copy `fish_tealdeer` to `~/.config/fish/completions/tldr.fish`
- *Zsh*: copy `zsh_tealdeer` to `/usr/share/zsh/site-functions/_tldr`
Shell completion scripts are located in the folder `completion`.
Just copy them to their designated locations:

- *Bash*: `cp completion/bash_tealdeer /usr/share/bash-completion/completions/tldr`
- *Fish*: `cp completion/fish_tealdeer ~/.config/fish/completions/tldr.fish`
- *Zsh*: `cp completion/zsh_tealdeer /usr/share/zsh/site-functions/_tldr`

0 comments on commit 7d2b7bc

Please sign in to comment.