1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00
Commit graph

119 commits

Author SHA1 Message Date
Oliver Kiddle
d2a140e75d 38641: allow for values which resemble compadd options 2016-06-09 22:54:07 +02:00
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
Daniel Shahaf
2ab41d508d 37215: _regex_words: Don't add mismatched parentheses
I ran into this in the wild¹, it manifested as the following error message:

    zregexparse:4: not enough regex arguments

¹ https://bug.tasktools.org/browse/TW-1729
2015-11-27 07:26:38 +00:00
Jun-ichi Takimoto
756526eef3 36697: handle options of _arguments correctly 2015-09-30 23:56:14 +09:00
Daniel Shahaf
ce9d3fd7b7 35270: _describe: Document a known issue described in 35229
(which is the same thread as 35127 and 34768)
2015-06-02 10:13:50 +00:00
Oliver Kiddle
4c2a62fe86 35310 (plus undo 35268 (git 899613f)): fix quoting of cached arrays
Also add file name reference to ChangeLog entry from rev 899613f.
2015-05-30 11:14:48 -07:00
Peter Stephenson
899613f535 c.f. 35268: revert completion cache optimisation for now 2015-05-26 10:00:46 +01:00
Daniel Shahaf
236da69842 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions 2015-03-16 09:27:06 +00:00
Barton E. Schaefer
ae7dcab5ed 34476: change _store_cache assignment format
Avoids potentially expensive lexical analysis of the array values.
2015-02-12 09:31:09 -08: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
Oliver Kiddle
03241e50b0 33438: use the new way of splitting strings with a dynamic separator
from 33423 and quote separators where needed
2014-10-13 11:13:55 +02:00
Barton E. Schaefer
22c4ea424c 33403: be conservative about redirecting _call_program stderr, the caller may have already done so 2014-10-09 17:54:47 -07:00
Barton E. Schaefer
5a2668a6ac 33223: discard stderr except when _complete_debug is in progress. 2014-09-23 20:31:31 -07:00
Barton E. Schaefer
e1ba30afae 33205: keep array of completions and array of display strings in sync when filtering for matches 2014-09-19 19:42:45 -07:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Oliver Kiddle
469ee6daef 32997: new utility function for separated lists 2014-08-14 19:00:04 +02:00
Peter Stephenson
60e41f9fc8 31369: set locale for completion if locale command is not usable 2013-05-04 16:07:34 +01:00
Peter Stephenson
8cdb57b3b7 31355: _comp_locale tries to sanitise locales but keep CTYPE;
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Peter Stephenson
7152094541 Missing .distfiles entries 2012-12-16 18:48:35 +00:00
Oliver Kiddle
a8ffff2cb7 users/17382: complete URLs for vim and make _remote_files more
consistent with _files
2012-11-07 20:59:09 +00:00
Bart Schaefer
3f98949ca8 30012: add $state_descr 2011-12-13 17:43:01 +00:00
Simon Ruderich
d374f2b180 29918: Completion: Add new _remote_files() helper and use it to reduce code duplication. 2011-12-09 22:39:08 +00:00
Peter Stephenson
8dc39360c9 29820: _pick_variant -b to match builtin 2011-10-14 19:01:41 +00:00
Mikael Magnusson
72cb7cfc6f 29307, 29308 + replies: Fix some doubled words in docs and comments. 2011-05-19 16:10:46 +00:00
Peter Stephenson
246bcd10a7 Mikael: 28531: typos 2010-12-16 13:55:35 +00:00
Peter Stephenson
72d1045da5 unposted: remove users/15622 _pick_variant change 2010-12-07 15:10:48 +00:00
Peter Stephenson
8d00aca697 users/15621: compdef -p/-P <pat>=<service>
users/15622: use service with _pick_variant
2010-12-06 17:23:04 +00:00
Bart Schaefer
059c8dede6 28186: replace (...|...) pattern-match with a loop over the alternatives to
avoid issues with pattern-quoting each alternative.
2010-08-22 15:54:36 +00:00
Peter Stephenson
5b80d50ad3 27233: improved _values handling of optional arguments
mount -o loop= argument is optional
2009-08-28 15:10:27 +00:00
Andrey Borzenkov
1f09b2909d users/14033 as modified by users/14037 and added doc: allow colon quoting
in matches in _describe
2009-04-18 07:26:56 +00:00
Bart Schaefer
027ce9a001 26609: _path_files: better (?) fix for globcomplete.
unposted: _pick_variant: explicit rather than implicit success return.
2009-02-28 07:11:31 +00:00
Peter Stephenson
0cf040f4bf Back off 26270 (accept-and-menu-complete).
Was causing memory corruption
2009-01-13 12:19:53 +00:00
Andrey Borzenkov
1a43616975 26270: allow accept-and-menu-complete work with _vallues as well 2009-01-09 20:54:35 +00:00
Peter Stephenson
0662164f13 26053: handle --help output like "--[fetch]all" 2008-11-17 10:37:37 +00:00
Bart Schaefer
4504a28ac3 Jörg Sommer: 25883: quote tmp1 strings before joining them into a pattern. 2008-10-15 06:11:39 +00:00
Peter Stephenson
f7f66ea11f Phil Pennock: 25275: use restrictive permissions on cache files
put zstat in example zshrc
2008-07-11 19:18:34 +00:00
Peter Stephenson
485a008075 24585: completion for glob qualifiers plus
bug fix for _alternative
2008-02-23 00:10:24 +00:00
Clint Adams
c48b70d59e Peter: 24235: handle underscores 2007-12-13 22:05:59 +00:00
Peter Stephenson
d86089ee6e update some .distfiles 2007-08-01 21:38:33 +00:00
Peter Stephenson
4d5d0327a1 bad use of indices in _combination 2007-07-05 18:23:13 +00:00
Peter Stephenson
b01d1e56a2 23567: new _complete_help_generic zle non-completion widget 2007-06-19 09:28:06 +00:00
Peter Stephenson
f48fa9eb9d unposted: prepare for release of 4.3.3 2007-04-16 13:21:24 +00:00
Peter Stephenson
c8d1071cd8 23198: improve _values -s
unposted: document _regex_words -t
2007-02-27 20:44:00 +00:00
Peter Stephenson
d98959ab67 23186: _ip completion and regex handling additions 2007-02-25 22:44:51 +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
e31d0b939d 20204: Motoi Washida: typo in _retrieve_cache 2004-07-28 09:33:20 +00:00
Peter Stephenson
4dc114f160 _arguments fix for configure, unconfirmed 2004-06-18 09:48:58 +00:00