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

3619 commits

Author SHA1 Message Date
Marko Myllynen
ccb45b3201 38837 (tweaked c.f. 38826): new virsh completion 2016-07-17 12:24:08 +02:00
Eric Cook
ac813cfade 38833: separate iostat completion from _sysstat 2016-07-13 21:07:12 -04:00
Oliver Kiddle
304aa25184 38812: a few new completions and update some command options 2016-07-08 23:10:41 +02:00
arno
080b1cabab 38780: include variants containing non alphanumeric symbols in completion 2016-07-05 23:30:46 +02:00
Jordan Klassen
92d516cfa7 users/21551 (tweaked per users/21560): new git subtree completion 2016-07-05 23:29:40 +02:00
Daniel Shahaf
3a034838b4 38760: _git-config: Stop trying to execute the empty string command name upon completing values for an unknown option.
For example:

% git config x.y.z <TAB>
+_git-config:834> case x.y.z (alias.*)
+_git-config:834> case x.y.z (remotes.*)
+_git-config:860> local z=$'\C-@'
+_git-config:861> declare -a parts
+_git-config:862> parts=( '' )
+_git-config:863> ((  1 < 2  ))
+_git-config:863> [[ x.y.z == [^.]##.*.[^.]## ]]
+_git-config:864> parts=( '' )
+_git-config:866> ((  1 > 0  ))
+_git-config:867> case  (-\>*)
+_git-config:867> case  (*)
+_git-config:1197> declare -a action
+_git-config:1198> _description values expl ''
+_git-config:1199> eval 'action=()'
+(eval):1> action=( )
+_git-config:1200> '' -J values
_git-config:1200: permission denied:
+_git-config:1206> return ret
2016-06-27 00:21:02 +00:00
Daniel Shahaf
3bd8abc40b unposted: _git-config: Document some line noise. 2016-06-25 16:33:33 +00:00
Daniel Shahaf
59bf331d27 unposted: _git-config: Fix syntax error in 'tag.sort' completion. 2016-06-25 16:32:34 +00: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
Oliver Kiddle
aed754980b 38733: completion for xfreerdp 2016-06-22 01:24:33 +02:00
Peter Stephenson
5103c85abb 38736: various RPN mode enhancements for zcalc 2016-06-21 16:34:55 +01:00
Oliver Kiddle
a22f4ea8ba 38713: don't add calendar matches when not immediately entering menu selection 2016-06-18 02:04:39 +02:00
Oliver Kiddle
2f67cd514f 38707: strip suffix for glob qualifier completion 2016-06-18 00:15:11 +02:00
Oliver Kiddle
bce43df70d 38703: support su options on macOS 2016-06-18 00:08:16 +02:00
Eric Cook
bc1acf5b0e 38676, 38680: Completion for pidof and localedef. 2016-06-14 21:26:58 -04:00
Doug Kearns
2162c1a2d2 unposted: remove unused parameter 2016-06-14 22:00:29 +10:00
Daniel Shahaf
aa160fc8e9 38651: _git: Escape parameter arguments to _call_program.
Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
2016-06-13 08:53:17 +00:00
Daniel Shahaf
ec7088296b 38665: _git: config option completion: Quote properly. 2016-06-13 08:53:14 +00:00
Oliver Kiddle
d2a140e75d 38641: allow for values which resemble compadd options 2016-06-09 22:54:07 +02:00
Oliver Kiddle
cf01ad96d4 38639: fix username completion after -, update options and get user shell with getent 2016-06-09 22:51:18 +02:00
Barton E. Schaefer
5e4db660b2 38632: remove trailing space on #compdef line for compinit parsing 2016-06-07 20:24:18 -07:00
Daniel Shahaf
0516736eae 38624: _git: Optimize the last commit's __git_recent_branches__names as suggested by Matthew. 2016-06-07 22:53:51 +00:00
Daniel Shahaf
6e834587eb 38592 (plus tweak): _git: New recent branches completion, unused. (Joint with Nils Luxton) 2016-06-07 22:53:46 +00:00
Eric Cook
cabacfff3b 38547: Completion/compdump: only autoload functions when they exist in fpath 2016-06-05 12:05:34 -04:00
Barton E. Schaefer
9c7f298447 users/21609: do not treat tilde-expansions as quoted when inside command substitutions 2016-06-03 15:57:41 -07:00
Marko Myllynen
c5c471bc74 38587: Fix iconvconfig completion --output handling 2016-06-03 20:39:43 +00:00
Daniel Shahaf
f84a5da8c2 38577: _signals: Don't complete SIGEXIT from _kill. 2016-06-03 02:21:58 +00:00
Daniel Shahaf
713eaa055d 38576: _git: Also detect _git-${thirdparty} functions in $fpath that are symlinks. 2016-06-03 02:21:54 +00:00
Marko Myllynen
023e7e463f 38567, 38440: Marko Myllynen: completion for locale(1) and iconvconfig(8) 2016-06-02 22:03:23 -04:00
Matthew Martin
770500d69d 38515: _subsript twwaks
Need -- after print; also optimise array add
2016-05-22 19:04:42 +01:00
Matthew Martin
7700170d6d 38514: remove unnecessary ls in completion 2016-05-22 19:02:18 +01:00
Clint Adams
469a8d8aa3 38482: complete available packages for apt list. 2016-05-12 21:08:42 -04:00
Daniel Shahaf
f09c00bca5 38453: _apt: Complete ${package}/${release} for 'source' and 'build-dep', too. 2016-05-10 18:38:42 +00:00
Daniel Shahaf
1a8fb1cbb3 38452: _apt: Complete releases by codename ('jessie', 'sid', etc). 2016-05-10 18:38:40 +00:00
Daniel Shahaf
d41a866047 38451: _apt: Complete 'apt-get download'. 2016-05-10 18:38:17 +00:00
Frank Terbeck
05e37bd994 38420: _baudrates: Make style lookups fit better with the rest of compsys
To quote Oliver Kiddle:
> The original concept with styles was that style's could have fairly
> generic names because the context allows you to select the detailed
> context. So perhaps consider allowing this to work as, for example:
>   zstyle ':completion:*:*:screen:*:baud-rates' max-value 9600
2016-05-09 03:40:31 +02:00
Frank Terbeck
58d8e46272 38425: _cu: Remove old -d option of _baudrates 2016-05-09 03:40:31 +02:00
Frank Terbeck
6f3fbcc67a 38421: _baudrates: Fit better into the general completion framework
This should work better in concert with other helpers and builtins of
the completion system by accepting arguments that would be handed to
compadd.
2016-05-09 03:40:31 +02:00
Frank Terbeck
795b285ce8 38424: Use _baudrates helper instead of _baudrate 2016-05-09 03:40:31 +02:00
Frank Terbeck
32b5cd9445 38426: _baudrates: Use 2 space indentation
As per the completion-style-guide.
2016-05-09 03:40:31 +02:00
Frank Terbeck
afff99dbb5 38422: _baudrate -> _baudrates
Oliver notes that helper functions usually have plural names by
convention.
2016-05-09 03:40:31 +02:00
Daniel Shahaf
98f670cf43 38401: _deb_packages: New completion for source packages. 2016-05-06 22:30:50 +00:00
Daniel Shahaf
cbcae36141 38402: Complete 'eatmydata'. 2016-05-04 21:05:35 +00:00
Daniel Shahaf
a6ab968224 38399: _bts: Complete debbugs bug numbers from bts cache. 2016-05-04 20:50:34 +00:00
Russell Currey
058d957ce5 38393: _git: Fix typo in completion of '--minimal'
Signed-off-by: Russell Currey <ruscur@russell.cc>
2016-05-03 11:26:54 +00:00
Frank Terbeck
493c7e0879 38388: Refactor baud rate completion
This adds a new helper function _baudrate and uses it in place of
private solutions in various existing completions.
2016-05-02 00:11:06 +02:00
Daniel Shahaf
bb5c8f16bf unposted: _querybts: Fix positional arguments' description. 2016-05-01 16:25:47 +00:00
Daniel Shahaf
1a2afc6b6d unposted: _compadd: Fix typo. 2016-05-01 16:25:15 +00:00
Frank Terbeck
857153c507 38381: Add completion for picocom utility 2016-05-01 04:08:19 +02:00
Daniel Shahaf
276a690a2e _git: Complete fetchy refspecs correctly. 2016-05-01 01:52:29 +00:00