New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

? in completions and suggestions is matching "any char" #785

Closed
etu opened this Issue May 20, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@etu
Contributor

etu commented May 20, 2013

If I pick my fish shell up, and type: etu@workstation ~ $ ?

The suggestion will suggest: etu@workstation ~ $ ?ython, which seems like it matches python, and I can even tab-complete to get the entire string ?ython.

Also works if I type like etu@workstation ~ $ sh?1 -> etu@workstation ~ $ sh?1sum

It's possible to complete these commands, but not to run them, becouse the command doesn't exist, fish tells me fish: Illegal command name “?ython” for example.

(And, I don't know why the heck anyone would type ? in their prompt while typing a command, but it seems strange that's it's possible to complete a command that doesn't exist)

@dag

This comment has been minimized.

Show comment
Hide comment
@dag

dag May 20, 2013

Contributor

Same with *.

Contributor

dag commented May 20, 2013

Same with *.

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Sep 12, 2013

Member

I think the simplest thing to do is to just not do tab completion or autosuggestions for commands with wildcards.

Should be fixed as 307a4ae . Thanks for reporting this!

Member

ridiculousfish commented Sep 12, 2013

I think the simplest thing to do is to just not do tab completion or autosuggestions for commands with wildcards.

Should be fixed as 307a4ae . Thanks for reporting this!

haarts pushed a commit to haarts/fish-shell that referenced this issue Nov 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment