You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In module 3 (setting up a kind cluster) there's a bit of a detour on how to set up completions for go-task.
The taskfile.dev website suggests installing completions by running: eval "$(task --completion <shell>)". However initially when I tried that in the devbox shell I got the error: unknown flag: --completion.
I took a look at task --help and, indeed, there's no such flag.
After running devbox update go-task to update to the latest version of task (currently 3.43.2) everything worked fine... and I found I could set this up automatically by tweaking the devbox.json file like so:
Since I'm new to devbox and go-task, a little bit of head scratching was required to get to that point. Possibly worth making a commit to bump to the latest version of go-task (assuming this wouldn't break anything else in the tutorial) to make it easier for other folks when they're getting started here?
The text was updated successfully, but these errors were encountered:
I was still getting the following output after devbox shell
Starting a devbox shell...
/dev/fd/13:18: command not found: compdef
(eval):2: command not found: compdef
Therefore also needed to add the following to my ~/.zshrc on my system as stated in the devbox documentation on completions to get working completions at all for devbox and go-task
Possibly worth making a commit to bump to the latest version of go-task (assuming this wouldn't break anything else in the tutorial) to make it easier for other folks when they're getting started here?
In module 3 (setting up a kind cluster) there's a bit of a detour on how to set up completions for
go-task
.The taskfile.dev website suggests installing completions by running:
eval "$(task --completion <shell>)"
. However initially when I tried that in the devbox shell I got the error:unknown flag: --completion
.I took a look at
task --help
and, indeed, there's no such flag.After running
devbox update go-task
to update to the latest version of task (currently3.43.2
) everything worked fine... and I found I could set this up automatically by tweaking thedevbox.json
file like so:Since I'm new to devbox and go-task, a little bit of head scratching was required to get to that point. Possibly worth making a commit to bump to the latest version of
go-task
(assuming this wouldn't break anything else in the tutorial) to make it easier for other folks when they're getting started here?The text was updated successfully, but these errors were encountered: