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
When using scw behind a version managed using shims like ASDF, the autocomplete doesn't work as it is generating the full path in the generated autocompletion code (even the scw shim is in PATH)
I will +1 on that issue, because i face the problem with Homebrew (scw formulae).
The autocomplete code generated by the formulae is based on the scw autocomplete script command, but is relative to the brew installation. Consequently and despite the scw is on the $PATH the autocomplete do not work.
Description
When using scw behind a version managed using shims like ASDF, the autocomplete doesn't work as it is generating the full path in the generated autocompletion code (even the scw shim is in PATH)
It would be interesting to have a
--parameter
to force the basename toscw
(or configurable)How this functionality would be exposed
A new parameter
--basename
for example to force a basename on the autocompletion generated codeReferences
https://github.com/asdf-vm/asdf
https://github.com/webofmars/asdf-plugin-scaleway-cli
Version
Version 2.3.1
BuildDate 2021-06-08T11:54:02
GoVersion go1.16.4
GitBranch new-release
GitCommit 07dbaeb
GoArch amd64
GoOS linux
The text was updated successfully, but these errors were encountered: