Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme22 authored Oct 30, 2024
1 parent ad1e18f commit 12c923e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,32 @@ For more options, run `tt --help` or `tt <subcommand> --help`.
TODO

## Shell completion
<details>
<summary>Bash</summary>

* Bash: Add this line to your `.bashrc`:
Add this line to your `.bashrc`:
```bash
eval "$(_TT_COMPLETE=bash_source tt)"
```
* Zsh: Add this line to your `.zshrc`:
</details>

<details>
<summary>Zsh</summary>

Add this line to your `.zshrc`:
```zsh
eval "$(_TT_COMPLETE=zsh_source tt)"
```
* Fish: Add this to `~/.config/fish/completions/tt.fish`
</details>

<details>
<summary>Fish</summary>

Add this to `~/.config/fish/completions/tt.fish`
```fish
_TT_COMPLETE=fish_source tt | source
```
</details>

## Development/Contributing

Expand Down

0 comments on commit 12c923e

Please sign in to comment.