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

69 commits

Author SHA1 Message Date
Marlon Richert
07a30613f0 48214: add file types to _expand completions, so they can be colored through complist 2021-03-31 01:20:36 +02:00
Wayne Davison
95882efbf7 44912: more quoting fixes in _expand
Don't set done_quote=1 if the glob result is empty.
2019-11-26 16:27:51 -08:00
Peter Stephenson
916ba78cd7 43752: Fix _expand quoting.
Quoting was not applied properly if globbing failed or was not applied.
2018-11-03 19:36:06 +00:00
Peter Stephenson
ba7de6d0d5 users/23169: only expand ~[...] under the same circumstances as other ~forms 2018-02-26 20:03:48 +00:00
Oliver Kiddle
7d80b14702 40053: exclude current directory of active zsh from _external_pwds ompletion matches 2016-12-01 21:45:04 +01:00
Barton E. Schaefer
8e3e727933 39710 (cf. Alex George: 39709): handle the %o format in the "all-expansions" tag
Also allow a single unique match to appear in the "expansions" tag of _expand in the same way as _user_expand (users/21955 commit 18200dc0)
2016-10-22 21:53:21 -07:00
Barton E. Schaefer
18200dc030 users/21955: add missing final colon in zstyle context lookup; allow a single unique match to appear in "expansions" tag 2016-09-21 21:27:21 -07:00
Oliver Kiddle
c5a3b170d4 39299: better Freebsd support in _external_pwds using procstat 2016-09-13 17:43:38 +02:00
Daniel Shahaf
7154052ebe 39046 + 39061: New :P history modifier. 2016-08-22 03:34:30 +00:00
Barton E. Schaefer
c5a13d2d01 unposted (cf. 36200): back out _expand backslash handling change from 34961. 2015-08-17 13:12:30 -07:00
Barton E. Schaefer
54fe61ab32 34961: unquote history words when command line has a quote 2015-04-25 11:05:52 -07:00
Barton E. Schaefer
33ff5d06f2 34961: add backslash to alias expansion matching (related to workers/32186) 2015-04-25 10:47:31 -07:00
Oliver Kiddle
ee38545c62 users/19365: completer for current directory of other shell processes 2014-11-25 20:03:53 +01:00
Barton E. Schaefer
57252dc1e0 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion
add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
2014-10-02 08:39:43 -07:00
Barton E. Schaefer
e01739d2b7 33069: remove internal quoting before lookup when expanding aliases in an unquoted word 2014-08-30 14:09:23 -07:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Peter Stephenson
f8ae47f29b unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release 2014-08-10 17:49:55 +01:00
Oliver Kiddle
7d301a527e 32441: add completer for file extensions 2014-03-03 16:50:14 +01:00
Oliver Kiddle
7c31413278 users/18498: observe add-space style in _expand_alias so suffix can be disabled 2014-02-25 09:02:19 +01:00
Barton E. Schaefer
9e4468d38d 32186: fix bad backreference; handle glob patterns with backslashed quotes 2013-12-28 00:30:17 -08:00
Peter Stephenson
d3891edfca users/12713: returning REPLY to _user_expand sets description for expansion 2012-09-03 11:12:15 +00:00
Mikael Magnusson
3214cf0a74 29384: Add _comp_caller_options 2011-05-27 14:36:33 +00:00
Peter Stephenson
1b68e0ea00 Mikael: 27797: delimit arguments to compadd in _expand_alias 2010-03-15 21:17:50 +00:00
Peter Stephenson
d5c5a1f987 26783: new _user_expand completer 2009-03-25 13:27:58 +00:00
Peter Stephenson
af3e2b6fa4 23934: cleveren _expand_alias for "foo" -> "foo blah" expansions 2007-10-11 09:06:19 +00:00
Peter Stephenson
a5ccfcf70b users/11852: _expand_alias removed quotes from aliases incorrectly 2007-09-18 08:22:35 +00:00
Peter Stephenson
663fbdf467 23495: fix fall out from (R) change in completion system 2007-05-30 10:46:50 +00:00
Wayne Davison
f89571085a Briefly enable aliases for one of the evals so that the expansion
of a $(...) or `...` properly uses normal and global aliases.
2006-03-08 07:50:29 +00:00
Peter Stephenson
4883bbeebc 21046: make unfunction compadd more reliable 2005-03-21 22:11:30 +00:00
Oliver Kiddle
96427ce997 20730: fix suffix style to regard quoted special characters as not special 2005-01-21 09:32:39 +00:00
Peter Stephenson
53383c33b8 20364: use $WIDGETSTYLE in _oldlist 2004-09-16 14:46:50 +00:00
Oliver Kiddle
d8b1242723 20236: fix problem with keep-prefix style where a modifier removes the prefix 2004-08-07 15:27:07 +00:00
Oliver Kiddle
276fe6ef16 19276: fix fallback used to get completer list if the style lookup failed 2003-12-05 10:35:20 +00:00
Oliver Kiddle
ec8418cf1c 18841: work around problem which caused the whole word to be removed 2003-07-09 15:53:23 +00:00
Oliver Kiddle
3ac50886a0 18822: fix accept-exact style not not bail out when it shouldn't and add a
setting to continue on and do normal completion
2003-07-07 09:48:45 +00:00
Oliver Kiddle
c4b8482b94 add original string as match (like in _approximate) 2002-04-04 12:05:17 +00:00
Oliver Kiddle
41eb475f9b 16923: add insert style for inserting matches instead of adding them as a match 2002-04-04 10:45:59 +00:00
Sven Wischnowsky
45f9a36216 remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819) 2002-03-13 09:28:04 +00:00
Sven Wischnowsky
f56ba813bb allow different sets of completion definitions selected with option -T to compdef; use this for parameter values and redirections (16755) 2002-03-04 08:53:41 +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
f463b09b13 allow arguments to be given to functions used by compdef (actually, the strings are eval'uated, so this should be powerful enough) (16472) 2002-01-21 16:13:15 +00:00
Sven Wischnowsky
90bbd87734 fixes for completion of signal names with SIG prefix and for completing command names instead of pids (16406) 2002-01-07 14:38:13 +00:00
Sven Wischnowsky
647674f6ab undo most of 15650, do that in shell code (15669) 2001-08-20 13:13:49 +00:00
Sven Wischnowsky
1a1d270e13 15638 2001-08-16 08:07:41 +00:00
Sven Wischnowsky
b0ac280e1a make _dd not use already used specs; fix for selecting stuff to complete in _describe; fix for correction and _describe with grouped lists (15588) 2001-08-07 10:38:36 +00:00
Sven Wischnowsky
bd629defe8 (15357) 2001-07-10 09:25:43 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Sven Wischnowsky
4a7abbfdd6 use `eval $_comp_setup' in all entry points of the completion system to not only set up the options, but also redirect stdin and ignore trap handlers for ZERR (14530) 2001-05-29 11:59:50 +00:00
Sven Wischnowsky
dc9d78c659 (14350) 2001-05-15 13:52:22 +00:00
Oliver Kiddle
e364fb2139 insert redirection operators when expanding after one (14281) 2001-05-09 12:06:10 +00:00