1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-26 18:01:03 +02:00
Commit graph

26 commits

Author SHA1 Message Date
Barton E. Schaefer
485cbbb6cc 37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors 2016-02-14 13:10:06 -08:00
Jun-ichi Takimoto
756526eef3 36697: handle options of _arguments correctly 2015-09-30 23:56:14 +09:00
Jun-ichi Takimoto
2810317ae2 34456: lopts should be initialized as an array
otherwise an empty element remains in lopts, which causes
a trouble when _arguments -- '*:' is called.
2015-02-06 23:06:07 +09:00
Bart Schaefer
3f98949ca8 30012: add $state_descr 2011-12-13 17:43:01 +00:00
Peter Stephenson
0662164f13 26053: handle --help output like "--[fetch]all" 2008-11-17 10:37:37 +00:00
Clint Adams
c48b70d59e Peter: 24235: handle underscores 2007-12-13 22:05:59 +00:00
Peter Stephenson
9d43d061e1 23182: _arguments problem with --with-foo[=BAR] specifiers 2007-02-16 15:02:03 +00:00
Peter Stephenson
ca06d8e308 22859: improve _arguments auto-documentation some more 2006-10-10 21:26:52 +00:00
Peter Stephenson
3162c03cc3 22858: _arguments can generate documentation from --help text 2006-10-10 18:06:28 +00:00
Peter Stephenson
966ff3a185 22780: add _arguments/comparguments -n to set index of first non-option arg 2006-09-27 16:53:58 +00:00
Peter Stephenson
4dc114f160 _arguments fix for configure, unconfirmed 2004-06-18 09:48:58 +00:00
Peter Stephenson
ecdfa912ae 18526: -O option to _describe for prefix-needed in _arguments 2003-06-05 09:51:25 +00:00
Sven Wischnowsky
86f38401aa for automatic long options completion, use the string after the equal signs (from the --help-text) as the description to shown when completing after the option (17214) 2002-05-23 12:20:15 +00:00
Sven Wischnowsky
ba168b43da fix removal of automatically added specs (from the -- option) for which a user-defined one is present (17191) 2002-05-21 07:44:57 +00:00
Sven Wischnowsky
757e68c5e7 fix for _arguments: don't use argument-tag when completing options; fix for _services: leave loop when matches were produced (17148) 2002-05-14 08:08:44 +00:00
Sven Wischnowsky
901d8b4c97 fix test for prefix-needed (16667) 2002-02-18 14:27:36 +00:00
Sven Wischnowsky
3807c902a2 add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483) 2002-01-22 10:22:47 +00:00
Sven Wischnowsky
75d5e9bb8b (15526) 2001-07-30 08:42:55 +00:00
Sven Wischnowsky
a7340e627b two fixes: try all actions that have to be tried (but only once), execute actions if we aren't after an option already (in the same word) (14733) 2001-06-06 09:31:54 +00:00
Oliver Kiddle
a594e4eb04 work around ${(@P)1[3,-1]} not working as expected (14658) 2001-06-01 14:29:11 +00:00
Sven Wischnowsky
171855e2e2 fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607) 2001-05-31 12:38:34 +00:00
Sven Wischnowsky
b4b6d57e2c 14117 2001-04-26 14:40:11 +00:00
Sven Wischnowsky
aa99b19c08 rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105) 2001-04-26 12:13:36 +00:00
Sven Wischnowsky
bbbf07a3e7 complete only those single letter options with the right prefix character (13908) 2001-04-05 12:12:45 +00:00
Sven Wischnowsky
163b0101ed add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902) 2001-04-04 11:29:19 +00:00
Sven Wischnowsky
3a6cc96ce6 moved from Completion/Base/_arguments 2001-04-02 11:09:34 +00:00