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

2106 commits

Author SHA1 Message Date
Jun-ichi Takimoto
972cf4197e * 42143: fix a pattern in _object_files 2017-12-20 00:49:26 +09:00
Oliver Kiddle
09939216d4 42019: update options in git completion to 2.15
also improve format completion for git tag and for-each-ref
2017-11-13 21:47:29 +01:00
Oliver Kiddle
d0b2549ba8 gitlab #1: update options for sqlite 3.21.0 2017-11-13 21:26:37 +01:00
Daniel Shahaf
5498e0cb9e 41969: _sort: Clarify option description. 2017-11-03 20:40:05 +00:00
Oliver Kiddle
0ebf336489 41971: correctly break out of certain tag loops when there are matches 2017-11-02 21:36:55 +01:00
Oliver Kiddle
aaa001e534 41963: update completion for gnutls 3.6.1 2017-10-31 00:51:42 +01:00
Oliver Kiddle
08e865ed90 41961: new ansible completion 2017-10-29 13:45:41 +01:00
Oliver Kiddle
01523f4145 41958: update util-linux completions to 2.31; new hexdump completion 2017-10-29 13:42:53 +01:00
Oliver Kiddle
85e56b5a48 41957: update git completion for git 2.14.3 2017-10-29 00:07:22 +02:00
Christian Brabandt
373538442b 41943: Completion: add --clean for vim
Vim since patchlevel 8.0.0716 includes the --clean argument for starting
in a clean mode (only loading defaults.vim and in non-cp mode).
2017-10-20 22:20:28 +02:00
Daniel Shahaf
7c36add497 41833 + 41838: _jq: New completion. 2017-10-13 17:51:29 +00:00
Oliver Kiddle
61b544a068 41855: completion option updates for OpenBSD 6.2 and handle macOS in rm completion 2017-10-11 01:24:01 +02:00
Oliver Kiddle
a8c2b90810 41854: also complete options for ping on Solaris, Mac OS, NetBSD and OpenBSD and for ping6 2017-10-11 01:23:59 +02:00
Oliver Kiddle
ea7178a624 41853: update options for texinfo 6.5 and complete also for the pinfo info reader 2017-10-11 01:23:57 +02:00
Oliver Kiddle
1a3a07a35f 41849: handle both unexpand and expand in a single function
They have some commonalities and using _unexpand dodges around
the clash with the _expand completer.
2017-10-11 01:23:56 +02:00
Oliver Kiddle
04a7dca3b0 41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P 2017-10-11 01:23:53 +02:00
Peter Stephenson
aeed51fdfc unposted: rename _expand command completion to avoid clash with completer 2017-10-10 10:01:01 +01:00
Oliver Kiddle
69fcc22dc8 41823: new completions for some GNU coreutils utilities 2017-10-07 22:26:51 +02:00
Noah Pendleton
63271a4b93 41808: _git-cherry-pick: Typo fixes 2017-10-04 22:07:23 +00:00
Oliver Kiddle
8ddadb8afe update mtr completion through mtr 0.92 2017-09-22 18:45:32 +02:00
Oliver Kiddle
101fb8dbf8 41732: bring tmux completion in line with tmux 2.5 - removing completion of mode tables 2017-09-22 01:16:53 +02:00
Oliver Kiddle
fde84f9e0b 41729: update options for gnutls completion plus cleanup and rearrange the function 2017-09-18 22:41:13 +02:00
Oliver Kiddle
1051d48bf5 41728: new completion for flac and update options in metaflac completion 2017-09-18 22:38:18 +02:00
Oliver Kiddle
256201eecd 41727: run tidy -xml-config to get HTML options for completion 2017-09-18 22:33:37 +02:00
Oliver Kiddle
b138acf42e 41725: assorted minor updates to completion functions 2017-09-18 15:53:29 +02:00
Oliver Kiddle
8e9fe082be 41711: new dconf completion 2017-09-15 20:24:04 +02:00
Oliver Kiddle
c1f789d2aa 41710: new smartctl completion 2017-09-15 18:37:43 +02:00
Oliver Kiddle
9429663af3 41709: update options in Linux sysstat completions 2017-09-15 18:31:11 +02:00
Jun-ichi Takimoto
6401caa183 41628 (plus 41645 by Oliver): _ps: update options
also do not reset compstate[insert]
2017-09-09 01:02:23 +09:00
Daniel Shahaf
1e536747ae 41621: _mkdir: Honour the 'command' and 'builtin' precommand modifiers. 2017-09-04 14:05:24 +00:00
Daniel Shahaf
2c4e5c4acb 41620 (tweaked per 41622): _mkdir: Don't offer a linux-specific option in the 'zsh' variant. 2017-09-04 14:05:21 +00:00
Marc Aldorasi
ef9d13c3d1 41637: add explicit objdump completion 2017-09-04 09:33:43 +01:00
Daniel Shahaf
73514c40f6 41567: _tmux: Complete detached sessions first for attach-session. 2017-08-30 00:13:06 +00:00
Daniel Shahaf
1e44c649a4 41566: _tmux: Complete only attached sessions for detach-session. 2017-08-30 00:13:03 +00:00
Daniel Shahaf
eb6c012f64 41564: _tmux: Complete environment variables and their values for set-environment and show-environment.
Also, teach show-environment not to offer --options after positional
arguments.
2017-08-30 00:12:07 +00:00
Daniel Shahaf
9a4fb22d89 41557: _tmux: show-environment, set-environment: Make -g,-t mutually exclusive.
tmux does not error out on the combination, but it does ignore one of
the two when both are specified.
2017-08-30 00:12:05 +00:00
Daniel Shahaf
383dc2a6f5 41558: _tmux: Complete option names for show-options and show-window-options. 2017-08-30 00:12:02 +00:00
Андрей Стоцкий (_RuRo_)
8b4d2329c7 41618: Added some arguments autocompletion to _todo.sh. 2017-08-29 01:56:17 +00:00
Oliver Kiddle
386eb378a7 41617: complete new tracepath options 2017-08-29 00:41:34 +02:00
Oliver Kiddle
e5c11eb7b5 41616: update completion options to entr 3.8 2017-08-29 00:38:32 +02:00
Oliver Kiddle
92ec72844c unposted: add missing #autoload directive 2017-08-29 00:32:41 +02:00
William da Silva
dd2e003c8e 41602 (tweaked): Improve wording in gpg completion. 2017-08-25 15:29:36 +00:00
Oliver Kiddle
3fbb80b1d3 41601: handle system differences in arp completion and add function for route 2017-08-25 15:20:10 +02:00
Oliver Kiddle
93ce12e7a0 41600: fix quoting of songs for mpc completion
also avoid sending errors to stderr and update completion of options
and subcommands
2017-08-25 15:13:57 +02:00
Oliver Kiddle
86f9edbc9d 41598: new who and w completions 2017-08-25 15:08:30 +02:00
Oliver Kiddle
1472c85412 41568: complete vmstat options on NetBSD and Solaris and add some exclusion lists 2017-08-18 22:25:16 +02:00
Oliver Kiddle
bcb285dbb6 41561: update dhclient completion
handle Free/OpenBSD implementations and bring options up-to-date
for the ISC implementation
2017-08-18 12:56:39 +02:00
Oliver Kiddle
ba6538637e 41560: cleanup chsh completion for different platforms 2017-08-18 12:54:18 +02:00
Tomasz Pala
8197af9b9c users/22834: allow completion after -c and a few other new ip options 2017-08-16 23:58:19 +02:00
Oliver Kiddle
b1a1a34250 41556: complete BPF (libpcap) filters 2017-08-16 23:47:55 +02:00
Oliver Kiddle
f80fe2dfe9 41552: complete only branches after git worktree add --detach
the --detach is superfluous for other commits
2017-08-16 23:41:09 +02:00
Daniel Shahaf
5654b905f9 41481: _df: Complete mounted device and mount points.
This splits umount's "udevordir" completion from _mount to a new file,
without changing it.
2017-08-08 14:55:02 +00:00
Daniel Shahaf
e2124c4719 41486: _tmux: Correct completions of new-window, split-window, respawn-window, respawn-pane.
This follows up to 41467 which patched new-session.
2017-08-08 13:52:04 +00:00
Oliver Kiddle
943a061ea5 41493: fix to not print hash into terminal and update options for git 2.14 2017-08-06 00:28:22 +02:00
Oliver Kiddle
14ff7d39ad 41492: update some options in completions 2017-08-05 16:22:30 +02:00
Daniel Shahaf
623be7199e 41479: _xz: Complete compressed, rather than uncompressed, files after -d. 2017-08-02 14:09:59 +00:00
Daniel Shahaf
17a6eb655d 41475: _git: Complete files after 'reset' when there are no commits, when the 'verbose' style is set. 2017-08-02 14:09:57 +00:00
Daniel Shahaf
562482a495 unposted: _git: Fix style lookup for 'max-verbose'. 2017-07-31 00:52:49 +00:00
Daniel Shahaf
f183ed66c8 41467: Correct completion of 'tmux new <TAB>'.
Reference: window_pane_spawn() in tmux 2.5.

Also, document _cmdstring and _precommand.
2017-07-28 15:49:14 +00:00
Daniel Shahaf
a6f2755448 41471 (tweaked): _svn: Complete propvals in 'propset'. 2017-07-28 15:46:00 +00:00
Daniel Shahaf
4015f3cf5d 41458: _subversion: Don't cache an empty commands list when svn is not available at the first invocation of _svn. 2017-07-28 15:42:42 +00:00
Oliver Kiddle
9e7315ab89 41432: use option grouping in xz completion 2017-07-15 14:55:41 +02:00
Oliver Kiddle
8eaacb3541 41431: update options in assorted completions 2017-07-15 14:53:53 +02:00
Fabian Klötzl
4a63a1793a 41414: fix for commas used in exclusion lists
also missing escape for _gcc and --no-index option for git diff
2017-07-14 12:07:49 +02:00
Oliver Kiddle
76a4a5ed3c 41419: update for git 2.13.2 2017-07-14 11:59:31 +02:00
Marcin Mielniczuk
050f752ed2 41409: complete "django startproject" 2017-07-11 09:13:51 +01:00
Peter Stephenson
c5783576e8 41339: Unquote treeish argument for git checkout completion 2017-06-22 10:05:07 +01:00
Jun-ichi Takimoto
01fb569009 41177: _nm: add support for macOS and OpenBSD 2017-06-01 00:11:41 +09:00
Barton E. Schaefer
5ded0ad967 41159: handle "Include" and "HostName" lines in ~/.ssh/config
Added 2>/dev/null to conceal file access errors.
2017-05-28 11:27:55 -07:00
Marko Myllynen
dd672b79ce 41087: Update kvno completion to MIT krb 1.14 2017-05-22 15:00:41 +01:00
Marko Myllynen
eacb87988e 41086: Update librt completions 2017-05-22 14:58:49 +01:00
Marko Myllynen
d14686860d 41085: Update OpenStack completions 2017-05-22 14:57:21 +01:00
Oliver Kiddle
4228d98c6b unposted: fix syntax on line end 2017-04-26 16:35:29 +02:00
Oliver Kiddle
78afb218b0 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02:00
Jun-ichi Takimoto
d78b02218e 41006: _ls: new optiosns and a few fixes 2017-04-26 13:40:03 +09:00
Daniel Hahler
4fa7c6aecc 40943: __git_recent_commits: prefer recent commit objects
Without this "commit to be amended" shows up before "recent commit object
name" with `git commit --fixup`, but the recent commit objects are the
most useful here.
2017-04-23 22:27:38 +02:00
Daniel Shahaf
6cc6942cf5 40973: _remote_files: Fix completion of remote files that start with a hyphen/minus. 2017-04-18 20:14:47 +00:00
Sebastian Gniazdowski
967ff2f5cf * 40782: avoid dependency on zsh/regex module 2017-04-01 09:43:34 -07:00
Alexandre Rames
fc1fedda95 40878: additional stgit squash command completeion 2017-03-24 16:42:51 +00:00
Daniel Shahaf
072e75f9b8 40855: _dmidecode: Fix _arguments syntax error. 2017-03-16 10:42:26 +00:00
Oliver Kiddle
7c662bf4d2 40843: update options for ruby 2.4.0p0 2017-03-14 16:15:33 +01:00
Oliver Kiddle
45d910356a 40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support 2017-03-14 16:13:05 +01:00
Daniel Shahaf
e869952200 40818: _git-checkout: When completing local heads, prefer recently-checked-out ones. (after 38592) 2017-03-14 11:14:14 +00:00
Daniel Shahaf
46233c4020 40817: __git_recent_branches: Retrieve less data, but faster.
By replacing the --grep-reflog=needle argument with a ${(M)...:#needle} filter,
we retrieve less data from the reflog, and consequently run (on my test cases)
16% to 40% faster.  The trade-off is that we retrieve less data: instead of
retrieving the 1000 most recent 'checkout' operations, we retrieve the most
recent 1000 operations, which would include fewer than 1000 checkout operations.

Also change [[:xdigit:]] to [0-9a-f] since it's faster, however, the absolute
gain from this is minor compared to the cost of 'git reflog'.
2017-03-14 11:14:13 +00:00
Wieland Hoffmann
5fa422b246 40837: for pgrep completion, add -w on Linux 2017-03-12 22:35:20 +01:00
John Leuenhagen
5da6621ffe unposted (github pull request #15): fix a small typo in ip corrections file 2017-03-11 08:35:20 +00:00
Oliver Kiddle
f862882f82 40824: grep completion handling of option deviations between different systems 2017-03-10 17:38:31 +01:00
Fabian Klotzl
7276d04934 40808: fix typos where (x,y) should have been (x y) in _arguments syntax 2017-03-09 20:29:27 -08:00
Barton E. Schaefer
9f49864322 40801: re-fix completion of mount points with spaces in the name
Turns out that work of art removed by 33963 was necessary after all
2017-03-09 20:29:27 -08:00
Mikael Magnusson
a8345a40b1 40780: Don't use =~ for simple prefix match 2017-03-07 03:20:05 +01:00
Christoffer Aasted
b8b5f18f3f unposted (via github): complete -Dproperty=/path_complete for ant 2017-03-04 09:31:31 +01:00
Ferenc-
76f2539e20 unposted (via github): Add newer C++ standard options to _gcc 2017-03-04 09:23:11 +01:00
Oliver Kiddle
929fa17a2f unposted: complete 'tiled' layout for tmux 2017-03-04 01:13:43 +01:00
Oliver Kiddle
cae214551b unposted: fix completion argument to xz --format 2017-03-04 01:05:51 +01:00
Oliver Kiddle
76a033e2cc 40715: update completion of git options for git 2.12.0 2017-03-04 00:37:04 +01:00
Oliver Kiddle
4443e021f1 update gphoto2 completion for new options up to gphoto2 2.5.11 2017-02-19 02:22:43 +01:00
Fabian Klotzl
e720f45975 40539: typo in MIPS branch of argument selection 2017-02-13 18:09:10 -08:00
Oliver Kiddle
64c67581d2 40512: new entr completion 2017-02-10 13:56:26 +01:00
Daniel Shahaf
e3bc63f00e unposted: _svn: Fix '--show-revs' completion. 2017-02-08 11:55:03 +00:00
Daniel Shahaf
ec1bdab023 40494: _git: Use slashes matchspec for references (as already used for branch names). 2017-02-07 08:43:31 +00:00