Skip to content

Commit b8279e5

Browse files
committed
!squash
1 parent 8423935 commit b8279e5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/cli/completion.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
(completion)=
2+
3+
# Completion
4+
5+
```{note}
6+
See the [shtab library's documentation on shell completion](https://docs.iterative.ai/shtab/use/#cli-usage) for the most up to date way of connecting completion for tmuxp.
7+
```
8+
9+
```{console}
10+
$ pip install shtab --user
11+
```
12+
13+
:::{tab} Bash
14+
15+
_~/.bashrc_:
16+
17+
```bash
18+
19+
eval "$(_TMUXP_COMPLETE=bash_source tmuxp)"
20+
21+
```
22+
23+
:::
24+
25+
:::{tab} Zsh
26+
27+
_~/.zshrc_:
28+
29+
```zsh
30+
31+
eval "$(_TMUXP_COMPLETE=zsh_source tmuxp)"
32+
33+
```
34+
35+
:::

0 commit comments

Comments
 (0)