Description
Hello,
The task completion with the shell fish raised a warning on manjaro (and probably on archlinux too) because these systems use the name "go-task" instead of"task".
go-task fish: Unknown command: taskcom
in command substitution
called on line 19 of file /usr/share/fish/vendor_completions.d/go-task.fish
in function '__go_task_get_experiments'
called on line 27 of file /usr/share/fish/vendor_completions.d/go-task.fish
in function '__go_task_is_experiment_enabled' with arguments 'REMOTE_TASKFILES'
in command substitution
/usr/share/fish/vendor_completions.d/go-task.fish (line 19): Unknown command
set -g __go_task_experiments_cache (task --experiments 2>/dev/null)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
in function '__go_task_get_experiments'
called on line 27 of file /usr/share/fish/vendor_completions.d/go-task.fish
in function '__go_task_is_experiment_enabled' with arguments 'REMOTE_TASKFILES'
in command substitution
The completion still works afterwards, but the warning remains.
I've started looking at the code and i saw this :
|
# Refresh cache |
|
set -g __task_experiments_cache (task --experiments 2>/dev/null) |
If i understand this file correctly it seems like instead of using task directy the code should use $GO_TASK_PROGNAME .
Would you accept a PR for this ?
Thank you for your time !
Version
3.48.0
Operating system
Linux 6.18.12-1-MANJARO
Experiments Enabled
No response
Example Taskfile
Description
Hello,
The task completion with the shell fish raised a warning on manjaro (and probably on archlinux too) because these systems use the name "go-task" instead of"task".
The completion still works afterwards, but the warning remains.
I've started looking at the code and i saw this :
task/completion/fish/task.fish
Lines 18 to 19 in 54bdcba
If i understand this file correctly it seems like instead of using
taskdirecty the code should use$GO_TASK_PROGNAME.Would you accept a PR for this ?
Thank you for your time !
Version
3.48.0
Operating system
Linux 6.18.12-1-MANJARO
Experiments Enabled
No response
Example Taskfile