Skip to content

rpm completion: fix file completion for stacked options like -vhU and -vhi#158

Open
cryptomilk wants to merge 1 commit intozsh-users:masterfrom
cryptomilk:asn-rpm
Open

rpm completion: fix file completion for stacked options like -vhU and -vhi#158
cryptomilk wants to merge 1 commit intozsh-users:masterfrom
cryptomilk:asn-rpm

Conversation

@cryptomilk
Copy link
Contributor

-h/--hash was only defined inside the install state handler, so when _arguments -s processed stacked options like -vhU or -vhi, it could not recognise -h at the top level. This prevented the mode flag (-U/-i) from being reached, leaving the state machine without a mode and offering no file completions.

… -vhi

-h/--hash was only defined inside the install state handler, so when
_arguments -s processed stacked options like -vhU or -vhi, it could not
recognise -h at the top level. This prevented the mode flag (-U/-i) from
being reached, leaving the state machine without a mode and offering no
file completions.
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.

1 participant