Skip to content
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

Fix wrong completion #495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix wrong completion #495

wants to merge 1 commit into from

Conversation

Freed-Wu
Copy link
Contributor

@Freed-Wu Freed-Wu commented May 4, 2023

Sorry for a typo. According to https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Completion-Functions's _arguments, --long-option[description of option]:name of argument:completion method should have 2 :s, not 3. Anyone can use patchelf --set-interpreter <TAB> to trigger this bug. And patchelf --print-* should be followed by a elf name: print some information about this elf then exit. So it shouldn't complete any other option (-), but should complete elf name (not (- : *), (*) will stop complete elf name).

@Freed-Wu
Copy link
Contributor Author

@edolstra @Mic92 @domenkozar @brenoguim Any problem?

@Mic92
Copy link
Member

Mic92 commented Feb 10, 2024

No just lack of time. Things will get better next month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants