Skip to content

Commit 64ac16a

Browse files
committed
add dics
1 parent 4e9f406 commit 64ac16a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

website/src/docs/installation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,21 +332,28 @@ config:
332332
This method loads the completion script from the currently installed version of
333333
task every time you create a new shell. This ensures that your completions are
334334
always up-to-date.
335+
If your executable isn’t named task, set the `TASK_EXE` environment variable before running eval.
335336

336337
::: code-group
337338

338339
```shell [bash]
339340
# ~/.bashrc
341+
342+
# export TASK_EXE='go-task' if needed
340343
eval "$(task --completion bash)"
341344
```
342345

343346
```shell [zsh]
344347
# ~/.zshrc
348+
349+
# export TASK_EXE='go-task' if needed
345350
eval "$(task --completion zsh)"
346351
```
347352

348353
```shell [fish]
349354
# ~/.config/fish/config.fish
355+
356+
# export TASK_EXE='go-task' if needed
350357
task --completion fish | source
351358
```
352359

0 commit comments

Comments
 (0)