Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

completion: option stacking and arguments!



Hey!

When using completion with "_arguments '-u=[Run as specified
user]:user:_users'", completing users after "-u" requires a space or an
equal sign. However, when enabling short option stacking with "-s", this
is not the case anymore.

How to still require a space/equal before a mandatory argument when
using option stacking?

Thanks!
-- 
Write clearly - don't sacrifice clarity for "efficiency".
            - The Elements of Programming Style (Kernighan & Plauger)



Messages sorted by: Reverse Date, Date, Thread, Author