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

346 commits

Author SHA1 Message Date
Daniel Shahaf
7154052ebe 39046 + 39061: New :P history modifier. 2016-08-22 03:34:30 +00:00
Oliver Kiddle
b816bb42cf 38957: make use of updates to match-words-by-style and better support completion of word-style styles for zstyle 2016-07-28 16:16:25 +02:00
Oliver Kiddle
54d5f8e363 38956: factor out zle widget completion into its own function 2016-07-28 16:12:59 +02:00
Daniel Shahaf
5c7d92bd9c 38890: _add-zle-hook-widget: New completion. 2016-07-22 06:23:39 +00:00
Mikael Magnusson
bd707b4787 _print: add -v 2016-07-18 00:44:52 +02:00
Oliver Kiddle
304aa25184 38812: a few new completions and update some command options 2016-07-08 23:10:41 +02:00
Oliver Kiddle
139a4dbe07 38735: support verbose style to allow clearer but less compact descriptions for time specifiers 2016-06-22 01:30:22 +02:00
Peter Stephenson
5103c85abb 38736: various RPN mode enhancements for zcalc 2016-06-21 16:34:55 +01:00
Oliver Kiddle
2f67cd514f 38707: strip suffix for glob qualifier completion 2016-06-18 00:15:11 +02:00
Matthew Martin
770500d69d 38515: _subsript twwaks
Need -- after print; also optimise array add
2016-05-22 19:04:42 +01:00
Daniel Shahaf
cbcae36141 38402: Complete 'eatmydata'. 2016-05-04 21:05:35 +00:00
Daniel Shahaf
1a2afc6b6d unposted: _compadd: Fix typo. 2016-05-01 16:25:15 +00:00
Han Pingtian
67c0174093 38219: remove redundant left square bracket 2016-04-14 16:46:27 +02:00
Eric Cook
25ca90e5ab 37788: _subscript - fix completion of associative array keys 2016-01-26 23:20:36 -05:00
Daniel Shahaf
07a300365f unposted: Remove uneeded executability bits. 2015-12-03 23:49:14 +00:00
Mikael Magnusson
d85a1fcd88 unposted: Fix broken case condition and "qualifer" typo 2015-09-28 02:24:54 +02:00
Eric Cook
002d68525c 36571: Completion for zsocket and updated losetup's completion 2015-09-23 01:14:08 +02:00
Mikael Magnusson
3f171fd463 36177: _setopt: complete printexitvalue both ways 2015-08-17 00:56:48 +02:00
Oliver Kiddle
9a4e1bf93b 36146: avoid mix of -/ and -g with _files as that just overrides user preferences 2015-08-14 11:00:39 +02:00
Oliver Kiddle
cf77e28a3f 36127: assorted minor completion function changes 2015-08-12 18:06:03 +02:00
Mikael Magnusson
b386bbaf29 36119: _strftime: Add completion for zsh/datetime's strftime builtin 2015-08-12 17:55:07 +02:00
Daniel Hahler
d90f92194f 35970: completion: fix typos in _git and _brace_parameter 2015-08-02 17:58:12 +02:00
Oliver Kiddle
346fcf9b96 35753: allow for numbers after the ( in ternary expressions and fix backslash quoting 2015-07-23 07:24:03 +02:00
Barton E. Schaefer
30dd372bcb users/20324: add (D) flag for tilde-fied completion listing
Also move some more recent code so an old comment is connected to the
correct bit of older code
2015-07-22 13:03:02 -07:00
Mikael Magnusson
b6a2f116a1 unposted: _ps1234: Fix ternary test char completion 2015-07-15 13:47:33 +02:00
Oliver Kiddle
81bfb1a327 35756: use the actual colours in the completion list for terminal colours 2015-07-14 00:30:44 +02:00
Oliver Kiddle
5951ac13ed 35748: fixes to prompt spec completion where it contains date formats 2015-07-09 14:58:06 +02:00
Oliver Kiddle
5c5654016b 35729: new compadd completion 2015-07-08 12:16:32 +02:00
Oliver Kiddle
396f68971f 35718: new calendar style date completion 2015-07-07 22:59:00 +02:00
Mikael Magnusson
439764a43f 35673: Improve _zargs 2015-07-03 14:20:32 +02:00
Oliver Kiddle
fbc64894cc 35568: use symlinks in /proc/$$/path on Solaris and procstat on FreeBSD 2015-06-23 03:30:06 +02:00
Oliver Kiddle
b2de9b518e 35527: use list-separator style in cases where separator was hardcoded 2015-06-19 19:54:44 +02:00
Oliver Kiddle
2c301822ca 35521: sort matches numerically and use pfiles on Solaris 2015-06-18 23:42:51 +02:00
Eric Cook
2e1bb72c07 35490: silence errors and avoid blank match due to missing local 2015-06-18 22:41:47 +02:00
Barton E. Schaefer
229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Oliver Kiddle
15aa99b0fe 35139: complete the new (b) parameter flag 2015-05-15 00:13:30 +02:00
Peter Stephenson
fa769f27d6 unposted: fix descriptions in previous -zcalc commit (cosmetic) 2015-05-05 14:47:11 +01:00
Peter Stephenson
cfc2a17c4e 35033: trivial zcalc completion 2015-05-05 12:01:06 +01:00
Oliver Kiddle
f4d8051de1 34940: _fc: fix typo breaking completion for history 2015-04-24 10:59:27 +02:00
Mikael Magnusson
9a0f5ea8a7 Revert "34926: _fc: Remove a spurious 2"
This reverts commit dd623b4403.
2015-04-21 12:16:13 +02:00
Mikael Magnusson
dd623b4403 34926: _fc: Remove a spurious 2 2015-04-19 08:23:11 +02:00
Daniel Shahaf
741b0bd97f users/20159: completion: zstyle: Add 'show-ambiguity' 2015-04-13 21:06:02 +00:00
Mikael Magnusson
205cb16b98 Fix ~ and (Q) order in _zattr 2015-03-15 00:42:01 +01:00
Daniel Shahaf
19010fafd9 New completion for add-zsh-hook 2015-03-05 09:40:33 +00:00
Peter Stephenson
1c942291f8 34435: Update emulate completion.
Add new feature to run command in emulation.

Factor out handling of quoted command string to new function.
2015-01-30 16:24:20 +00:00
Oliver Kiddle
f972b023a2 34373, 34374: update completion of builtin commands, modifiers,
parameter and globbing flags
2015-01-25 18:23:03 +01:00
Daniel Shahaf
20953f53f0 _zstyle vcs_info completion: Add missing styles 2015-01-25 01:42:06 +01:00
Daniel Shahaf
54bfcf5af1 _zstyle vcs_info: Unbreak branchformat completion
The failure mode was:

    % zstyle ':vcs_info:*' branchformat "foobar%<TAB>
    _values:compvalues:10: no multi-letter values with empty separator allowed
2015-01-25 01:42:06 +01:00
Daniel Shahaf
89c692eafb 33977: don't complete widgets as first argument to bindkey 2014-12-21 22:23:06 +01:00
Daniel Shahaf
908abba891 33883: documentation for (*) glob qualifier 2014-12-07 16:13:39 +00:00
Oliver Kiddle
5e592fd9b0 33485: fixes for zstyle context handling 2014-10-21 20:53:51 +02:00
Oliver Kiddle
19f038b5fa 33420: complete -R/-m options and fix feature completion 2014-10-10 17:03:59 +02:00
Oliver Kiddle
00a654af5c 33323: fix bug in removing math functions and complete -M option to functions 2014-10-02 19:29:32 +02:00
Mikael Magnusson
c61a927d1d 33061: More useful setopt / unsetopt completion 2014-09-06 11:01:12 +02:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Oliver Kiddle
e0966c819c 32925: complete process groups, partly as a way to suppress insertion of ambiguous PID prefix 2014-08-13 17:00:03 +02:00
Daniel Shahaf
9381bb6a2d 32694: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 23:46:07 -07:00
Daniel Shahaf
eb4c70d0b7 32528: vcs_info: Add check-for-staged-changes 2014-04-05 10:56:52 +02:00
Manuel Presnitz
973e5dc37d 32412 / 32415: New giga- and terabyte units for glob qualifiers 2014-03-01 19:08:17 +00:00
Peter Stephenson
584ea88811 32303: simplistic completion after $x: 2014-01-28 19:14:30 +00:00
Barton E. Schaefer
4777c07c8e users/18335: avoid passing to "functions" those typeset options that it does not accept 2014-01-19 17:38:15 -08:00
Barton E. Schaefer
ea55ea039d 32205: skip cdpath search when prefix begins with "../" 2013-12-30 12:45:53 -08:00
Barton E. Schaefer
407cfc0f4f 32190: quote _path_files -W path when completing relative to ../ 2013-12-28 00:38:04 -08:00
Barton E. Schaefer
71038e31db users/18219: compadd -Q for builtins, aliases, and reserved words 2013-12-15 13:47:09 -08:00
Peter Stephenson
9503b161ab 32031 plus missed _run_help: get helpfiles install path corect in functions 2013-11-23 17:44:12 +00:00
Martin Vaeth
49959a35df 32008: complete "." and ":" for run-help, clean Doc/help in make 2013-11-18 10:06:33 -08:00
Martin Vaeth
0f9032753a 31959 (plus tweak to .gitignore): make help files during installation 2013-11-12 21:06:46 +00:00
Mikael Magnusson
38adc17336 31806: _enable _disable: Workaround special characters in alias and function names breaking _arguments syntax 2013-10-11 14:57:57 +02:00
Mikael Magnusson
6f921b91f4 31805: Update _enable and _disable for -p, fix related typo in docs 2013-10-11 14:57:57 +02:00
Barton E. Schaefer
012668e14e 31714: handle ".." properly when $PWD or the path prefix traverses a symbolic link. 2013-09-10 08:14:37 -07:00
Peter Stephenson
146374a2af improved math context completion: functions 2013-03-17 20:53:44 +00:00
Peter Stephenson
a45b45eeab 31061: "functions" completion takes account of options already
on the command line
2013-02-22 21:58:16 +00:00
Oliver Kiddle
a409dbf74c 31058: add completion of options from newer versions of some commands 2013-02-21 10:49:22 +00:00
Mikael Magnusson
c435a8cc61 30466: Add prompt format and printf format completion. 2012-05-14 15:32:26 +00:00
Peter Stephenson
5eb53bf88d 30431 with typo in _typeset fix:
add ${...:|...} and ${...:*...} operators, as documented
2012-04-22 18:10:42 +00:00
Mikael Magnusson
346c4c46cc 30021: _globquals: Add d flag, show what unit the digits are entered in. 2011-12-14 01:11:20 +00:00
Bart Schaefer
3f98949ca8 30012: add $state_descr 2011-12-13 17:43:01 +00:00
Mikael Magnusson
40a31c0180 29741: _zattr: add ret=0 and fix filename globbing. 2011-09-06 16:22:08 +00:00
Mikael Magnusson
f0eaa5713e unposted: move _schedtool to correct dir 2011-08-18 12:48:42 +00:00
Mikael Magnusson
57ca91ba9d 29682: new _schedtool completer 2011-08-17 10:18:14 +00:00
Mikael Magnusson
c3d1277229 29618: Fix some syntax to not depend on SHORT_LOOPS being set. 2011-07-27 10:26:25 +00:00
Doug Kearns
67ef9605f1 unposted: clean up completion descriptions as per Etc/completion-style-guide 2011-06-20 02:24:56 +00:00
Peter Stephenson
d7582f006f 29459: Further fixes for parameter flag completion,
plus drive-by fix for double-quoted parameter completion with flags
2011-06-04 21:32:06 +00:00
Peter Stephenson
d292edc4dc 29452: allow completion of parameter flags 2011-06-03 22:06:59 +00:00
Mikael Magnusson
0bff0b356c 29438: complete dynamic directory names in command position 2011-06-03 20:51:37 +00:00
Bart Schaefer
9b2ab24ea5 Greg Klanderman: 28887: fix quoting in defs array 2011-03-12 01:04:00 +00:00
Peter Stephenson
336836987f fix completion funny with dynamic directories 2011-03-11 18:26:02 +00:00
Peter Stephenson
f2dca9e155 users/15864: turn zsh_directory_name into a hook 2011-03-11 16:32:07 +00:00
Bart Schaefer
07d1d2d402 Greg Klanderman: 28846: adapt prefix-needed zstyle to handle the
completion function naming convention of a leading underscore.
2011-03-08 16:08:37 +00:00
Peter Stephenson
931a3b6405 Atom Smasher: users/15715: new _zargs completion 2011-01-17 10:00:21 +00:00
Peter Stephenson
bfcf98a7d3 Sebastian Stark: users/15581: MacOS has .bundle DLL files. 2010-11-25 17:42:28 +00:00
Peter Stephenson
2b361ad116 users/15580: fix MIME handler completion on fallthrough 2010-11-25 15:43:14 +00:00
Oliver Kiddle
30d6deb355 28307: support new styles esp. vcs_info ones and allow quoted contexts again 2010-10-01 18:27:58 +00:00
Peter Stephenson
ab175759b2 Mikael: 28252: remove unnecessary loop causing errors 2010-09-13 08:49:22 +00:00
Peter Stephenson
b116f33f9a Update version to 4.3.10-dev-2 2010-07-25 21:44:16 +00:00
Peter Stephenson
e3f764d1ef 28047: attempt to make locking with fc command more useful 2010-06-22 11:00:31 +00:00
Peter Stephenson
92233c8029 28026: use "zsh_directory_name c" for completion of dynamic directory names 2010-06-11 22:28:21 +00:00
Doug Kearns
a54fdc70be unposted: fix incorrectly capitalized completion descriptions 2010-06-06 13:44:11 +00:00
Peter Stephenson
84425f7d17 Mikael: 27981: complete (e) in subscript 2010-05-31 14:29:30 +00:00
Peter Stephenson
0b1d48472a Mikael: 27980: completion typo 2010-05-28 08:49:55 +00:00