Skip to content

Commit

Permalink
added documentation for completion in carapace
Browse files Browse the repository at this point in the history
  • Loading branch information
HirschBerge committed Oct 9, 2024
1 parent d083139 commit 0d0c389
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ rm -rf "~/.fzf"
flatpak uninstall io.mpv.Mpv
```
* iOS
```
```sh
rm -rf /usr/local/bin/ani-cli
```
To uninstall other dependencies:
Expand All @@ -504,19 +504,27 @@ apk del grep sed curl fzf git aria2 ffmpeg ncurses
### bash

To add tab completions using bash run the following command inside the ani-cli directory
```
```sh
cp _ani-cli-bash /path/to/your/completions
echo "source /path/to/your/completions/_ani-cli-bash" >> ~/.bashrc
```

### zsh

To add tab completions using zsh run the following command inside the ani-cli directory
```
```sh
cp _ani-cli-zsh /path/to/your/completions
echo "source /path/to/your/completions/_ani-cli-zsh" >> ~/.zshrc
```

### Cross-Shell (with [Carapace](https://github.com/carapace-sh/carapace))

See the [setup](https://carapace-sh.github.io/carapace-bin/setup.html) guide on Carapace for your specific shell.
To add tab completions using zsh run the following command inside the ani-cli directory
```sh
cp ani-cli.toml $HOME/.config/carapace/specs/ani-cli.yaml
# Restart your shell for good measure
``````
## Dependencies

- grep
Expand Down

0 comments on commit 0d0c389

Please sign in to comment.