File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -332,21 +332,28 @@ config:
332332This method loads the completion script from the currently installed version of
333333task every time you create a new shell. This ensures that your completions are
334334always 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
340343eval " $( task --completion bash) "
341344```
342345
343346``` shell [zsh]
344347# ~/.zshrc
348+
349+ # export TASK_EXE='go-task' if needed
345350eval " $( task --completion zsh) "
346351```
347352
348353``` shell [fish]
349354# ~/.config/fish/config.fish
355+
356+ # export TASK_EXE='go-task' if needed
350357task --completion fish | source
351358```
352359
You can’t perform that action at this time.
0 commit comments