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
Also, you could just use $args[-1] to access the last element. So you can write:
edit:completion:arg-completer[go] = [cmd @args]{ put $args[-1]* }
Finally, in a completer you don't do filtering; the filtering is handled in a separate pass; see https://elv.sh/ref/edit.html#argument-completer. Maybe I should rename "completer" to "generator" to make this clearer.
Copy and paste:
then
go <tab>
I'm using the master version
The text was updated successfully, but these errors were encountered: