Skip to content

Commit f334e34

Browse files
authored
docs: completion readme known issues (#1052)
2 parents 041f1fa + 5af0c19 commit f334e34

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

apps/docs/src/pages/en/features/completion.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ user does not know what commands are available. We can fix that with the
99
script for the end user to use, both for ZSH & Bash and Fig! The completion will
1010
be generated dynamically based on the commands and options available.
1111

12-
# Setup Your Completion Using The CompletionFactory
12+
## Setup Your Completion Using The CompletionFactory
1313

1414
Your `main.ts` file:
1515

@@ -74,6 +74,14 @@ OR
7474
echo "source <(my-cli completion-script)" >> ~/.zshrc
7575
```
7676

77+
In case zsh does not load the completion script, you can add the following
78+
commands to your config file in order to enable completion:
79+
80+
```bash
81+
autoload -Uz compinit
82+
compinit
83+
```
84+
7785
<br>
7886

7987
## Fig Completion integration

0 commit comments

Comments
 (0)