mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
add dics
This commit is contained in:
@@ -332,21 +332,28 @@ config:
|
|||||||
This method loads the completion script from the currently installed version of
|
This method loads the completion script from the currently installed version of
|
||||||
task every time you create a new shell. This ensures that your completions are
|
task every time you create a new shell. This ensures that your completions are
|
||||||
always up-to-date.
|
always up-to-date.
|
||||||
|
If your executable isn’t named task, set the `TASK_EXE` environment variable before running eval.
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
|
|
||||||
```shell [bash]
|
```shell [bash]
|
||||||
# ~/.bashrc
|
# ~/.bashrc
|
||||||
|
|
||||||
|
# export TASK_EXE='go-task' if needed
|
||||||
eval "$(task --completion bash)"
|
eval "$(task --completion bash)"
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell [zsh]
|
```shell [zsh]
|
||||||
# ~/.zshrc
|
# ~/.zshrc
|
||||||
|
|
||||||
|
# export TASK_EXE='go-task' if needed
|
||||||
eval "$(task --completion zsh)"
|
eval "$(task --completion zsh)"
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell [fish]
|
```shell [fish]
|
||||||
# ~/.config/fish/config.fish
|
# ~/.config/fish/config.fish
|
||||||
|
|
||||||
|
# export TASK_EXE='go-task' if needed
|
||||||
task --completion fish | source
|
task --completion fish | source
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user