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

3533 commits

Author SHA1 Message Date
Daniel Shahaf
c6fc6f80cd 37665: Completion: New helper _absolute_command_paths. 2016-01-20 07:49:29 +00:00
Daniel Shahaf
9df6c728e8 37664: docs: Document the completion function _command_names. 2016-01-20 07:49:25 +00:00
Daniel Shahaf
896f43c72b 37634: _man: Support subsection names such as '3p'. 2016-01-18 02:40:02 +00:00
Daniel Shahaf
35b8e8794f 37634: _man: Disentangle a local variable that had two distinct semantics. No functional change 2016-01-18 02:40:01 +00:00
Daniel Shahaf
c380c9394a 37663: New bibtex completion (very minimal). 2016-01-18 02:39:52 +00:00
Daniel Shahaf
152875ba03 37550: _cu: Support Linux line-device names; fail gracefully on OSes matching no known line-device name pattern. 2016-01-13 00:56:50 +00:00
Matthew Martin
82210cb954 37534: completion for OpenBSD's cu, fw_update and rcctl utils 2016-01-10 14:10:06 -05:00
Oliver Kiddle
3ca4ffa972 users/21114: new dig completion 2015-12-31 12:47:47 +01:00
Axel Beckert
5f3e47ca5e 37438: C/D/C/_aptitude: Also parse -h output of aptitude 0.7.5 and later 2015-12-27 15:50:24 +01:00
Felipe Sateler
67484e613b Add missing apt purge and autoremove subcommands 2015-12-26 18:22:49 +01:00
Peter Stephenson
d397e3fca2 37401: pattern error caused too much activity in _list_files for some styles 2015-12-14 11:10:52 +00:00
Adrien Vergé
3102883fbc 37397: Optimised update to dnf completion 2015-12-13 18:19:18 +00:00
Matthew Martin
3272bdce98 37383: add completion type for object files 2015-12-11 11:51:09 +01:00
Simon Hafner
e5dddecc15 37260: add opus to mplayer audio completions 2015-12-11 05:37:37 +01:00
Daniel Shahaf
e14540ac02 37150: _git: Autocomplete .. for commit ranges
This patch makes three changes:

- Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the
  ".." being autoremovable.

  This is implemented by the first hunk.  That hunk is a functional
  subset of Oliver's users/20705, however, the latter hasn't been
  committed.

- Make typing "^" remove the "..", in light of the syntax "foo^..bar".

- Make typing "." _not_ remove the ".." but simply append it, since
  "foo...bar" is a valid and useful syntax.
2015-12-05 10:15:40 +00:00
Daniel Shahaf
6a3de994af 36957: _git: Apply matchspecs to filename completion such as 'git log f/b<TAB>' → 'foo/bar.txt's
This patch makes 'git log S/e<TAB>' expand to Src/exec.c.  The incumbent
code would run 'git ls-tree S/' and find no matches.
2015-12-05 10:15:39 +00:00
Daniel Shahaf
07a300365f unposted: Remove uneeded executability bits. 2015-12-03 23:49:14 +00:00
Daniel Shahaf
ebb0d7ddaa 37256: _debchange (_dch): Update completion. 2015-11-30 16:02:47 +00:00
Daniel Shahaf
06a24d3747 37163: Remove curl completion 2015-11-27 07:27:09 +00: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
Matthew Martin
d590646673 37100: update for sysctl completion 2015-11-26 09:37:50 +00:00
Matthew Martin
6fe05eac84 37201: change quoting to handle group names with spaces 2015-11-22 19:57:51 -08:00
Daniel Shahaf
c563f1ba83 37164: _tmux: Complete external commands 2015-11-20 03:39:52 +00:00
Daniel Shahaf
d554f31bcb 37149: _git: Complete 'bisect/bad' ref 2015-11-20 03:39:34 +00:00
Daniel Shahaf
afc4d41652 37129: _git: Complete 'commit -p' 2015-11-17 23:31:26 +00:00
Eric Cook
f01cf05e53 _sockstat: minor improvements
allow -p, -P and -f's argument to be completed in the same word.

Complete -P's argument using /etc/protocols again, while allowing a
comma delimited list of protocols.
2015-11-16 02:50:24 +01:00
Barton E. Schaefer
9ce000db22 37115: update for changes in ${(P)...} evaluation. 2015-11-14 21:22:17 -08:00
Daniel Shahaf
6198f7ffba 37031: _git-merge: Exclude ancestors of HEAD from recent commit completion
As done for _git-cherry-pick in a428c6b62c (36328 + 36340).
2015-11-13 20:17:51 +00:00
Peter Stephenson
20153c573e 37062: tentative mechanism for git commit descriptions.
Mechanism for forcing completion system into verbose mode is subject
to change.
2015-11-04 17:37:17 +00:00
Daniel Hahler
9642aeeaeb 35303: remove Completion/Unix/Command/_systemd
systemd's upstream version seems to be maintained well, and e.g. on Arch
Linux the version from Zsh gets removed in favour of it.
2015-11-02 02:58:09 +01:00
Oliver Kiddle
fa59375e36 37029: update options and new tr completion 2015-10-31 19:14:36 +01:00
Oliver Kiddle
098319df99 37028: new scl completion 2015-10-31 19:11:16 +01:00
Barton E. Schaefer
682e779a21 unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment about the flip-flopping 2015-10-31 09:54:04 -07:00
Daniel Shahaf
0e510f0c35 37032: Temporarily revert 36959. 2015-10-31 13:03:54 +00:00
Jun-ichi Takimoto
9640e9f497 36983 + 36990: new completions for head and tail 2015-10-29 01:03:18 +09:00
Daniel Shahaf
8b51584246 36962: _git: Fix completion of RHS of refspecs.
Before this patch, 'git push $remote :<TAB>' completed branch names (as though
by `git branch -a`), instead of completing remote branch names sans the
${remote}/ prefix.
2015-10-25 18:52:29 +00:00
Daniel Shahaf
cc19bb96b9 36964: _git: Complete remotes branch names with slashes correctly.
For example, 'git push remote HEAD:foo/bar' creates such branches.
2015-10-25 18:52:13 +00:00
Daniel Shahaf
b4f7482e44 36960: _git: Enable slash matcher for more branch and tag completions, include 'git branch <TAB>' and 'git tag <TAB>'. 2015-10-25 18:47:35 +00:00
Daniel Shahaf
f890d442e2 36959: _git: Offer @~$n as completion of recent commits.
Suggested-by: Oliver Kiddle (users/20705)
2015-10-25 18:47:26 +00:00
Daniel Shahaf
17af119089 36958: _git: Fix recent commit completion descriptions.
The uniquifiers 'HEAD~$n' were incorrect when a recent commit was the second
parent of a merge commit.  Detect that case and print something correct
instead.
2015-10-25 18:47:11 +00:00
Daniel Shahaf
f8b2c13c97 unposted: _git: Fix 'commit object name' completion messages.
Offer the "this alternative is still valid, but I don't know to offer
completions for it" for hash completion but not for recent object completion;
the former is protected by a _guard and the latter incorrectly appeared also in
cases such as 'git log a/b<TAB>' which were not the start of a gitrevisions(7)
expression.
2015-10-25 18:39:34 +00:00
Daniel Shahaf
e3c68450d7 unposted: _beep completion: Actually hook it for the 'beep' command. 2015-10-24 20:42:31 +00:00
Daniel Shahaf
98875bcb05 36900: _git: stash names completion: Display log messages
The "$@" argument to compadd is removed because (I think) it contains a -J,
which conflicts with the -V.

Joint with Daniel Hahler.
2015-10-20 14:30:10 +00:00
Eric Cook
c6028f7387 36642: complete jail/unjail zfs subcommands on freebsd 2015-10-19 16:07:43 +02:00
Eric Cook
878d1272fd 36646: handle solaris/openzfs differences; only use -t share on solaris 2015-10-19 16:07:32 +02:00
Eric Cook
d8f8d3e534 36889: completion of system specific sockstat options 2015-10-19 11:33:17 +02:00
Matthew Martin
509c822b62 36869: use permissions to limit files completed for ssh identity files 2015-10-19 11:23:57 +02:00
Peter Stephenson
21b6852b15 36864: new objdump completion and tweak to nm completion 2015-10-15 11:24:21 +01:00
Barton E. Schaefer
ce929eb37e 36841: factor out and update the patterns that filter "uninteresting" functions out of the $funcstack display 2015-10-11 21:23:38 -07:00
Jun-ichi Takimoto
e3bc9aa228 36732: _zsh now complets script args; also support -s, -b 2015-10-02 22:11:43 +09:00