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
The `args` parsing code was sending the arguments as a single string,
rather than as an array.
If you typed `omni config path <TAB>` then `["config path"]` was passed
as args into `omni --complete` instead of the expected `["config",
"path"]`.
Fixes#128.
Example:
mkdir -p cmd/a/b/c/d/e && touch cmd/a/b/c/d/e/f.sh
chmod +x cmd/a/b/c/d/e/f.sh
set -Ux OMNIPATH $PWD/cmd
omni a <tab>
This does autocomplete the
b
but does not seem to pursue after.This seems similar with any other commands.
Omni does return the right autocompletion value (
COMP_CWORD=2 omni --complete a
returnsb
,COMP_CWORD=3 omni --complete a b
returnsc
, etc.).This works as expected on bash and zsh (i.e. autocomplete until
omni a b c d e f
), fish is the only one having a weird behavior.The text was updated successfully, but these errors were encountered: