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

2074 commits

Author SHA1 Message Date
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
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
Jun-ichi Takimoto
e3bc9aa228 36732: _zsh now complets script args; also support -s, -b 2015-10-02 22:11:43 +09:00
Peter Stephenson
9064483b6c 36722: allow git range to complete after ^.
Take account of backslash quoting.
2015-10-01 09:47:15 +01:00
Matthew Martin
36abe20c0f 36653: OpenBSD's usermod has no -a flag 2015-09-27 23:41:45 +00:00
Jun-ichi Takimoto
0cfa2dcfc4 36631: separate _zsh from _sh
Do all the completion for zsh by _arguments
2015-09-28 00:09:03 +09:00
Daniel Shahaf
92584634d3 unposted (see 36633): _hg: Enable --option=value syntax and disable '-xy Xarg Yarg' syntax
This simply removes the '-w' argument to _arguments and changes
{-x+,--foo} to {-x+,--foo=} throughout the file.
2015-09-26 00:21:18 +00:00
Christoph Mathys
61fa5f66f0 36626: _hg: completion for 'hg bookmarks' 2015-09-25 23:20:09 +00:00
Daniel Shahaf
4c935b9f85 unposted: _hg: Declare $expl as an array 2015-09-24 16:15:18 +00:00
Christoph Mathys
1aafc028b3 36613: _hg: extend completion for hg push to support branch and bookmark 2015-09-24 16:12:57 +00:00
Frank Terbeck
5476e011f1 36576: _tmux: Fix tmux homepage URI 2015-09-21 14:56:50 +02:00
Frank Terbeck
d4a640775f 36575: _tmux: ‘lock-server’ option is gone in tmux.git 2015-09-21 14:56:50 +02:00
Jun-ichi Takimoto
9b35a04f98 36556: complete two or more options for zsh 2015-09-21 21:38:41 +09:00
Jun-ichi Takimoto
05ec830c94 36574: new completion for the lldb debbuger 2015-09-21 21:08:29 +09:00
Axel Beckert
9cb8c3f4b5 36523: Completion/…/_gphoto2: Replace --delete-files with --delete-file 2015-09-13 02:26:02 +02:00
James Clarke
bddd99d98a 36441: _git: Fixed typo in --author-date-order description 2015-09-07 21:11:10 +00:00
Daniel Shahaf
6e825e7b25 36353: _git: Unbreak after previous. 2015-09-01 04:37:39 +00:00
Mateusz Karbowy
a428c6b62c 36328 + 36340: _git-cherry-pick: Complete other branches only 2015-08-30 22:51:15 +00:00
Daniel Shahaf
d2e920d5d0 36306: _subversion: Complete --show-item values 2015-08-28 23:36:25 +00:00
Daniel Shahaf
d6ca3bc4b9 unposted: _subversion: Avoid SHORT_LOOPS 2015-08-27 23:15:03 +00:00
Daniel Shahaf
63b1dcd284 36304: _git-cat-file: Fix regression in 36237
This broke 'git cat-file blob origin:Etc/<TAB>'.
2015-08-27 23:14:57 +00:00
Daniel Shahaf
fdf48d84fa 36277: _git: Updated for git-clone 2.4.5. 2015-08-24 11:23:44 +00:00
Daniel Shahaf
a69994ede1 36247: __git_objects: Complete HEAD:./foo correctly in worktree subdir 2015-08-19 23:29:50 +00:00
Daniel Shahaf
663fa4092f 36237: __git_objects: Complete HEAD:foo correctly in worktree subdir 2015-08-19 23:29:49 +00:00
Daniel Shahaf
a4c41fff12 36236: _git-log: Complete multiple revspecs
e.g., git log origin/master origin/foo origin/bar
2015-08-19 23:28:12 +00:00
Daniel Shahaf
d70e7149df 36236: _git-log: complete 'git rm'd files 2015-08-19 23:28:11 +00:00
Oliver Kiddle
ea5d100643 36148: _git-log: Complete flags after positional argument 2015-08-19 23:27:40 +00:00
Daniel Shahaf
0c5f6e911b 36208: _subversion: Complete a few more option switches
The while (( idx )) form should guarantee that these switches are only
added if the 'svn' binary supports them.  (One of these switches isn't
present in svn 1.8 or earlier.)
2015-08-19 01:56:53 +00:00
Mikael Magnusson
fb063f9649 36172: _imagemagick: Use $formats a bit more correctly 2015-08-17 22:50:04 +02:00
Mikael Magnusson
a62e968224 36183: _ssh: update to 7.0 2015-08-17 01:00:18 +02:00
Mikael Magnusson
0204f5e17f 36091: _ncftp: search XDG_DATA_HOME for bookmarks saved by lftp 2015-08-15 00:43:48 +02:00
Mikael Magnusson
019dbbf166 Revert 36118
This works already except if list-dirs-first is set, and that
is being fixed separately.
2015-08-15 00:15:22 +02:00
Daniel Hahler
5f8a18a561 unposted: fix minor typos 2015-08-14 02:35:32 +02:00
Daniel Shahaf
422dae7b1c unposted: _subversion: Complete property names for propdel
Previously, filenames would be completed.
2015-08-13 23:47:59 +00:00
Wieland Hoffmann
8e0b5e0e00 Wieland Hoffmann: 36123: protect against word splitting in __git_is_committish_range 2015-08-13 15:53:12 +02:00
Oliver Kiddle
cf77e28a3f 36127: assorted minor completion function changes 2015-08-12 18:06:03 +02:00
Mikael Magnusson
aa722536ea 36120: _sort: Fix syntax error 2015-08-12 17:54:55 +02:00
Mikael Magnusson
6472541678 36118: _imagemagick: complete all files if image files didn't match 2015-08-12 17:54:42 +02:00
Mikael Magnusson
f6c3a2f86a 36117: _wget: complete headers for --header and add --no-use-server-timestamps 2015-08-12 17:54:24 +02:00
Mikael Magnusson
8815500f95 36116: _git: various fixes
Add = to git checkout --conflict= completion
fix transposed [-
git push remote argument is not optional
can use shorter syntax for a check
2015-08-12 17:54:07 +02:00
Frank Terbeck
8d849b9caf 36069: _tmux: Fix \ooo display in completion list 2015-08-10 16:50:55 +02:00
Frank Terbeck
5d10851b73 36070: _tmux: Update bell-action and prefix options 2015-08-10 16:50:55 +02:00
Frank Terbeck
b6d44f6c63 36060: _tmux: Update TODO 2015-08-10 16:50:54 +02:00
Frank Terbeck
e3df5dff86 36061: _tmux: Add support for new window options 2015-08-10 16:50:54 +02:00
Frank Terbeck
5c19edb44b 36055: _tmux: Add support for new server options 2015-08-10 16:50:54 +02:00
Frank Terbeck
5fc821cbbd 36059: _tmux: Add new session options 2015-08-10 16:50:53 +02:00
Frank Terbeck
333df34d7b 36051: _tmux: Remove support for old options 2015-08-10 16:50:53 +02:00
Frank Terbeck
4dbc1af529 36047: _tmux: Fix options with changed scope 2015-08-10 16:50:53 +02:00
Frank Terbeck
761044e5c4 36064: _tmux: Add new command aliases 2015-08-10 16:50:52 +02:00
Frank Terbeck
61ba1a92fd 36052: _tmux: Remove old sub-commands and their aliases 2015-08-10 16:50:52 +02:00
Frank Terbeck
1afcae59e6 36049: _tmux: options => session_options 2015-08-10 16:50:52 +02:00
Frank Terbeck
ad7ef9cf1f 36054: _tmux: "local -x" serves no purpose 2015-08-10 16:50:51 +02:00
Frank Terbeck
c7c15410b5 36057: _tmux: Replay all arguments when dispatching to new _tmux() 2015-08-10 16:50:51 +02:00
Frank Terbeck
ca53f8a7ca 36058: _tmux: No need to unset local variables 2015-08-10 16:50:51 +02:00
Frank Terbeck
ab234991b7 36050: _tmux: Don't unset, set empty in local scope 2015-08-10 16:50:50 +02:00
Frank Terbeck
75530dc965 36063: _tmux: Remove dead code 2015-08-10 16:50:50 +02:00
Frank Terbeck
e2495da3c2 36062: _tmux: Add support for new sub-commands 2015-08-10 16:50:50 +02:00
Frank Terbeck
742f4da3d9 36048: _tmux: Update options for supported commands
This also adds a little TODO on top about what is missing.
2015-08-10 16:50:49 +02:00
Frank Terbeck
783ce79a11 36046: _tmux: Update command line options
New: -C and -V
Removed: -q (tmux still excepts it for backward compatibility, but it
         does nothing)
2015-08-10 16:50:49 +02:00
Christian Hesse
2fc05d522f 35991: _ssh: add ssh option FingerprintHash
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-08-05 23:38:21 +02:00
Mikael Magnusson
fb0b6483a0 unposted: _ssh: use the -q option for the = suffix
This way, you can press = to start completing the values instead of
the space, backspace, tab dance
2015-08-05 19:45:35 +02:00
Mikael Magnusson
8ce0320d1b 35989: _ssh: update to 6.9 2015-08-05 19:38:02 +02:00
Eric Cook
31c1ebe7b2 35973: new systat and vmstat completions 2015-08-05 16:05:36 +02:00
Eric Cook
764c48f54d 35972: allow for Directive=Value format in .ssh/config 2015-08-05 15:57:24 +02:00
Christian Hesse
db7b2f12d8 35986: add ssh option UpdateHostKeys 2015-08-05 15:47:14 +02:00
Daniel Hahler
d90f92194f 35970: completion: fix typos in _git and _brace_parameter 2015-08-02 17:58:12 +02:00
Jun-ichi Takimoto
f4723a0c08 35957: fix _make-expandVars()
Also use variables set in the command line and environment.
2015-08-02 21:12:12 +09:00
Matthew Martin
77a8cd7390 35960 (tweaked): complete correct options for OpenBSD's find 2015-07-31 11:18:23 +02:00
Daniel Shahaf
d470453d76 35274: completion: Add FreeBSD's watch(1)
Review-by: Oliver Kiddle
2015-07-26 11:23:14 +00:00
Oliver Kiddle
c55fe21999 35867: new patchutils (interdiff etc) completion 2015-07-23 07:12:01 +02:00
Oliver Kiddle
7351fea0f9 35866: complete also for pigz and allow for NetBSD gzip 2015-07-23 07:02:40 +02:00
Daniel Hahler
8024de798d 35779: completion: _git-config: remove extraneous "local expl"
It is defined at the beginning of the function already, and results in
the output of `expl=''` when completing after `git config
branch.local.pushremote ` etc.
2015-07-13 15:05:52 +02:00
Oliver Kiddle
396f68971f 35718: new calendar style date completion 2015-07-07 22:59:00 +02:00
Peter Stephenson
96fa41a7c8 35663: zpool completion fix needed after completion change 2015-07-02 16:25:59 +01:00
Oliver Kiddle
bf098bc29e 35529: fix filename completion after java -jar 2015-06-23 03:24:49 +02:00
Oliver Kiddle
dd78520897 35531: fallback on file completion 2015-06-19 20:00:51 +02:00
Oliver Kiddle
deb2ec7f17 35510: use consistent formatting for git subcommands 2015-06-18 23:50:59 +02:00
Oliver Kiddle
8ebb4e65a9 35504: complete % placeholders for git log --format 2015-06-18 23:47:40 +02:00
Mikael Magnusson
54c2c442ee _gdb: Allow 'core' to occur anywhere in a coredump filename 2015-06-17 01:45:18 +02:00
Barton E. Schaefer
806f73a0b3 35467: complete files for non-GNU du 2015-06-14 20:10:50 -07:00
Daniel Hahler
e8cf611879 35216: _git-checkout: do not call __git_commits twice
This makes `branch_arg` empty by default, to be used only for
__git_remote_branch_names.

`branches::__git_revisions` was used here, but that's the same as
tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits.

Only tree_ish_arg will call __git-commits now.
2015-06-08 00:35:01 +02:00
Daniel Shahaf
83ac36c14f 35271: New completion: beep.
The new completion is mostly boilerplate except for the handling of
$words/$CURRENT to support specifying the arguments multiple times
separated by -n.
2015-06-02 10:09:01 +00:00
Oliver Kiddle
52cace8056 35356: factor out completion of tty devices 2015-06-02 00:52:11 +02:00
Daniel Hahler
da603d0a00 35098: completion: git: provide --amend also with "message" group
Especially during a git rebase, you would use `git commit -m foo
--amend`.
2015-05-29 01:56:18 +02:00
Oliver Kiddle
a711b2abef 35315: replace inappropriate uses of _path_commands 2015-05-28 22:45:34 +02:00
Daniel Hahler
0c8d21adc2 35293: fix zstyle lookup with _php: use trailing colon 2015-05-27 19:39:17 +02:00
Daniel Hahler
6925e2b298 35286: fix zstyle lookups with _baz and _tla
Add trailing colons to context being used with `zstyle -s`.
2015-05-27 19:38:05 +02:00
Daniel Hahler
068558616a 35261: completion: git: __git_recent_commits: local ret
Without this, `ret` will be set to 1 with `git diff --ex<tab>` and
result in duplicate entries:

   % git diff --ex<tab>
    -- option --
   --exit-code    -- report exit code 1 if differences, 0 otherwise
   --exit-code  -- report exit code 1 if differences, 0 otherwise
   --ext-diff     -- allow external diff helper to be executed
   --ext-diff   -- allow external diff helper to be executed
   --no-ext-diff  -- disallow external diff helper to be executed
    -- recent commit object name --
2015-05-22 01:12:10 +02:00
Daniel Shahaf
c174947040 35224: completion: git: Add fast-export --signed-tags=warn-strip 2015-05-19 20:35:14 +00:00
Daniel Hahler
a0d269460a 35217: add missing changelog entry; use "-O expl" with _alternative 2015-05-19 10:43:24 +02:00
Daniel Hahler
7408f91d31 35217: completion: git: send-email: complete (recent) commits
This adds `__git_commit_objects_prefer_recent` as alternative for
git-send-email's completion.
2015-05-19 10:28:51 +02:00
Daniel Hahler
8f6823b710 __git_commit_objects: do not use _guard, but only a pattern
With using `_guard` there like it's been done, the completion could not
be selected, probably because of the call to `_message` therein.

This changes it to use only the logic/check from `_guard` that we want
here.
2015-05-19 08:50:42 +02:00
Daniel Hahler
ed3e5f521d Completion/Unix/Command/_git: remove -2 with __git_recent_commits
Remove "-2" for _describe in __git_recent_commits.

This fixes the duplicate entries issue, because __git_recent_commits
gets called twice for _git-checkout (for __git_revisions and
__git_tree_ishs):

1. __git_commit_objects_prefer_recent _alternative __git_commits
   __git_revisions _alternative _git-checkout
2. __git_commit_objects_prefer_recent _alternative __git_commits
   __git_tree_ishs _alternative _git-checkout
2015-05-19 07:49:48 +02:00
Daniel Hahler
d0057538d3 35204: fix broken __git_recent_commits from previous commit
This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
2015-05-19 06:38:43 +02:00
Daniel Hahler
1e7bb4a8f8 35164: fix __git_commit_objects/__git_recent_commits
$pipestatus for `: foo` is 0 always.

Without this, "git checkout" in a non-git directory would complete " ",
but not result in a note/error about not being in a git dir.
2015-05-19 05:42:21 +02:00
Daniel Shahaf
6bfe6fd84b users/20222: completion: git: Add matchspec for heads
Allows 'git checkout o/m<TAB>' to complete 'origin/master'.

Moreover, '/x<TAB>' would complete 'foo/bar/xyzzy/baz', since the matchspec
uses not '*' but '**'.
2015-05-19 01:55:15 +00:00
Peter Stephenson
2caa5ddd79 35187: unbalanced parentheses in _vim 2015-05-18 12:46:33 +01:00
Peter Stephenson
52aeb9aaeb 35168: Improve parsing of case patterns.
"|" is now found properly by looking for words that come
from the lexical analyser, rather than hacking a pattern
returned in one dollop.

Update some completion functions that need extra quoting
as a result.

Add test for new parsing.

Update version number to 5.0.8-dev-3 because of wordcode
incompatibility.
2015-05-18 09:56:00 +01:00
Daniel Shahaf
34a1489f43 35105: completion: git: add distance_from_head to __git_recent_commits
This adds the "HEAD~15" gitrevisions(7) identifier of the commit to the
description, which also uniquifies, isn't redundant, and may be easier
to type.

Ref: zsh-workers/34820 (http://www.zsh.org/mla/workers/2015/msg00744.html)
2015-05-18 02:48:03 +02:00
Daniel Hahler
733db1b411 35106: completion: git: unique name for __git_recent_commits
This helps to distinguish it from __git_commit_objects.
2015-05-18 02:48:03 +02:00
Daniel Hahler
a0b221e7c5 35103: completion: git: add %cr to commit objects (all and recent) 2015-05-18 02:48:03 +02:00
Daniel Hahler
94c6b32fe7 35104: completion: git: __git_commit_objects: query 1000 commits
Also, `--all` and `--reflog` is used to get all commits.

It adds the _guard in front, so only non-empty values will come here.
Also, __git_commit_objects_prefer_recent will only call it, if there are
no matching recent commits.
2015-05-18 02:48:03 +02:00
Daniel Hahler
454f079852 35101: completion: git: add __git_commit_objects_prefer_recent
This is used with __git_commits then, and is meant to only call
__git_recent_commits, if there are matches.
2015-05-18 02:48:03 +02:00
Daniel Hahler
1d5b225498 35100: __git_recent_commits: massage ' ->*' from heads
Handle " -> master, origin/master" in decorated git-log output, and add
it as separate entries.
2015-05-18 02:48:03 +02:00
Daniel Hahler
895408bb81 completion: git: add missing return to __git_recent_commits 2015-05-17 19:54:15 +02:00
Daniel Shahaf
7990cf983e 35161: completion: git: Fix typo in 35061 2015-05-16 22:57:22 +00:00
Oliver Kiddle
32a448dc25 users/20219: fix completion for git options 2015-05-15 18:04:40 +02:00
Daniel Hahler
968c5ceaa7 35062: __git_setup_revision_options includes __git_setup_diff_options 2015-05-14 19:03:21 +02:00
Daniel Hahler
a1c1f6828c 35061: add __git_setup_diff_stage_options and use it with _git-diff-files and _git-diff explicitly 2015-05-14 19:00:32 +02:00
Daniel Hahler
fec4e7243b 35016: introduce new pretty formats %g[sdD] for reflog information 2015-05-14 18:56:23 +02:00
Christian Hesse
29fdde5fb7 35107: new ip options to complete 2015-05-13 19:34:21 +01:00
Daniel Hahler
b884853756 35060 + 35072: completion: git: split __git_heads into local and remote
It is useful to have this distinction visually.

This also uses `--format=%(refname:short)` directly with `git
for-each-ref`.
2015-05-12 00:59:07 +00:00
Oliver Kiddle
5b7e50dcd0 35049: allow jail completion to include jid 0 for the host and to
complete jails by any parameter
2015-05-11 12:11:32 +02:00
Daniel Shahaf
949d186d6c 35066: Minor completion fix for pasted arguments 2015-05-09 15:13:43 +00:00
Oliver Kiddle
ab7ec8d985 35011: update completions for some common Unix commands,
in particular improving FreeBSD support
2015-05-03 16:53:57 +02:00
Peter Stephenson
8b4c46fb3f 34980: in completion match new Makefile assignment forms 2015-04-28 09:27:37 +01:00
Barton E. Schaefer
fd574101a9 34961: avoid _message because it aborts completer list too early 2015-04-25 11:07:14 -07:00
Daniel Hahler
156327023c 34899: completion: _vim: add nvim to #compdef
nvim is used by NeoVim and is fairly compatible.
2015-04-17 13:36:30 +00:00
Daniel Shahaf
122bb9a125 34886: completion: git: Complete rebase --exec argument 2015-04-13 21:01:45 +00:00
Daniel Shahaf
7793ebcb71 34885: completion: git: Sort "commit object" completions most recent first 2015-04-13 20:59:19 +00:00
Daniel Shahaf
7929dd8cba 34885: completion: git: Fix another instance of the 34671 bug fixed in 34814 2015-04-13 20:59:02 +00:00
Clint Adams
b3d32115f8 34874: completion for cabal 2015-04-10 19:31:33 -04:00
Daniel Hahler
ca8edaba92 34748: completion: git: update list of builtintools 2015-04-10 16:24:42 +00:00
Daniel Shahaf
727533088a 34814: completion: git: Fix bug introduced by 236da69
Based on a patch by Daniel Hahler <git@thequod.de>.
2015-04-01 09:44:26 +00:00
Peter Stephenson
3ef734ca72 users/20058: improve device completion in ip completion.
We were too eager to regard strings already on the command line
as possible devices.
2015-03-31 20:10:08 +01:00
Daniel Hahler
0b79922edb 34762: completion: git: add short option for '--dir-diff' (_git-difftool) 2015-03-29 05:52:44 +00:00
Daniel Shahaf
e176eff554 34739: git completion: Fix regression in ce80a92
This restores the message when completing a commit object name that
isn't one of the most recent 20 commits.  e.g., 'git checkout deadbeef<TAB>'.
2015-03-19 06:51:32 +00:00
Daniel Shahaf
236da69842 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions 2015-03-16 09:27:06 +00:00
Daniel Shahaf
097dedf9ab 34671: git completion: only offer recent commits' tags/heads for --fixup 2015-03-16 09:25:39 +00:00
Daniel Shahaf
69ada95acd 34693: sudo completion: Don't false positive 'sudo -e' detection 2015-03-09 20:01:09 +00:00
Daniel Hahler
ce80a925d6 34638 with tweaks: git completion: complete commit hashes and --fixup 2015-03-07 03:56:48 +00:00
Daniel Shahaf
49776e807f 34588: Complete 'usermod -a' 2015-02-27 17:21:11 +00:00
Daniel Hahler
7d15b9a9cb 34468: completion: git: stash: handle 'save' being the default
"git stash" should complete arguments for "git stash save", but without
the message part.
2015-02-08 20:27:26 +01:00
Daniel Hahler
8f403ab25c 34467: completion: git: minor doc fixes
I am not sure about the deprecation of user-commands, but from other
places in the doc and commit history this deprecation was meant to be
reverted?!
2015-02-08 20:27:25 +01:00
Daniel Hahler
28d520bc21 34470: completion: adb: add "sideload" command
btw: there is another compdef available for `adb` from
zsh-users/zsh-completion; see
https://github.com/zsh-users/zsh-completions/issues/291.
2015-02-08 20:27:25 +01:00
Daniel Hahler
ffaf99288f 34469: git completion: add "stash" from refs/stash to __git_heads 2015-02-08 20:27:25 +01:00
Daniel Shahaf
860ef4e125 34464: Update mtr completion to mtr 0.82 2015-02-07 22:28:03 +00:00
Daniel Shahaf
a5333cc344 34444: git completion: minor improvements
- 'git rebase': complete arguments in the same word as the option

- 'git commit': provide message for --fixup/--squash
2015-02-02 15:32:59 +00:00
Daniel Shahaf
061dc888d3 34411: _hg completion: Complete bookmark names for -r
While there, simplify `hg tags` parsing.
2015-02-01 11:36:02 +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
Jun-ichi Takimoto
1faf2888e9 34415: cache list of all python modules 2015-01-28 23:58:23 +09:00
Jun-ichi Takimoto
f591458321 34423: fix a typo in _ruby 2015-01-28 23:19:48 +09:00
Daniel Shahaf
2c85612c4b 34412: complete all groups for chown under sudo 2015-01-27 11:02:57 +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
Wieland Hoffmann
9ca77b2143 _git: Change one --validate to --no-validate
As the description of that argument says, it's used to *not* perform
sanity checks.
2015-01-17 13:00:23 +01:00
Eric Cook
cd8c0a2dc1 34260 relax interface name restrictions in ip completion 2015-01-13 09:27:41 +00:00
Eric Cook
c5b2eaaaa4 34259: variable declarations in ip completion 2015-01-13 09:25:56 +00:00
Daniel Shahaf
c7850ac4f6 34042: _git: Respect tags for subcommand completion.
It is now possible to use the tag-order style to stagger the overwhelming
'git <TAB>' subcommand listing.  For example:

    zstyle ':completion::complete:git:argument-1:' tag-order \
        main-porcelain-commands user-commands third-party-commands \
        ancillary-manipulator-commands ancillary-interrogator-commands \
        plumbing-manipulator-commands plumbing-interrogator-commands \
        aliases
2015-01-05 15:57:42 +00:00
Mikael Magnusson
2194da18c7 33963: remove work of art in _mount 2014-12-29 08:34:34 +01:00
Barton E. Schaefer
33b3958064 34068: create tempfiles without forking, and safe temp directory creation 2014-12-28 00:49:08 -08:00
Oliver Kiddle
3b7061e4e4 33958: update sudo completion for newer options 2014-12-13 20:04:02 +01:00
Mikael Magnusson
247f7548dc Parse "Gentoo" as being GNU libc 2014-12-10 15:20:51 +01:00
Peter Stephenson
53e44daeba 33927: nm completion improvements
Complete .elf files.

Allow directory searches.
2014-12-08 09:53:10 +00:00
Barton E. Schaefer
09959eb9d6 33912: fix filename default case
version-of-od argument list manipulation clobbered the default spec
2014-12-07 11:20:01 -08:00
Mikael Magnusson
b9a2a3767c 33882: Complete CXXFLAGS as CFLAGS too 2014-12-06 11:42:23 +01:00
Oliver Kiddle
167a15a920 33861: update lsof completion for new options 2014-12-05 20:16:23 +01:00
Eric Cook
67c39b09c8 33689: make cp --reflink's argument optional 2014-12-03 16:56:23 +01:00
Peter Stephenson
9161a16b2e 33729: "git remote add" should complete local repositories 2014-11-23 21:03:37 +00:00
Sebastien Alaiwan
0151ab0749 33728: Complete bzr shelve subcommand 2014-11-21 09:46:54 +00:00
Oliver Kiddle
82aa706cbf 33659: use --dump-options to get most of the gpg options to complete 2014-11-09 17:19:37 +01:00
Barton E. Schaefer
63f3030aaa 33648: _gpg completes for gpg2 as well 2014-11-08 12:23:29 -08:00
Mikael Magnusson
242b419fbc 33485: fix a missing ;; case terminator 2014-10-24 08:56:31 +02:00
Oliver Kiddle
5e592fd9b0 33485: fixes for zstyle context handling 2014-10-21 20:53:51 +02:00
Peter Stephenson
e02ff159b3 see 33475: allow .cpp files to be completed as gcc input 2014-10-17 09:43:32 +01:00
Syohei YOSHIDA
f144cb732f 33455: update GNU global option completion 2014-10-14 23:12:43 +02:00
Oliver Kiddle
13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
fREW Schmidt
de56e09fcb 33375: new sv completion 2014-10-10 15:50:57 +02:00
Daniel Shahaf
0cb4c23b39 33396: new xxd completion 2014-10-10 15:37:50 +02:00
Oliver Kiddle
dad5063a7c 33315: fix pattern to match freebsd10 and later 2014-10-02 15:02:33 +02:00
Axel Beckert
3aa5544638 33284: Completion/Unix/Command/_*magick: Add JPEG 2000 file extensions 2014-10-02 02:51:34 +02:00
Wieland Hoffmann
b9ee56e5b7 33252: complete more notmuch subcommands 2014-09-26 14:05:30 +01:00
Oliver Kiddle
d8f7b4bcd6 33238: correct return values 2014-09-25 00:21:18 +02:00
Øystein Walle
95a6d965c5 33180: _git: add missing --3way option 2014-09-23 22:26:22 +02:00
Øystein Walle
93702691ec 33177: _git: fix typo in git-apply 2014-09-23 22:26:21 +02:00
Øystein Walle
d338cc5395 33178: _git: updates for Git 2.1.0
This incorporates changes mentioned in the release notes since 2.0.0.
2014-09-23 22:26:21 +02:00
Øystein Walle
56116a763a 33176: _git: Add missing --list to git-tag 2014-09-23 22:26:20 +02:00
Øystein Walle
8560d4ff31 33179: _git: updates for Git 2.0.0
This incorporates changes mentioned in the release notes since 1.9.0.
2014-09-23 22:26:20 +02:00
Peter Stephenson
5378f6ad77 33221 (including 33173 from Anthony Heading): _perforce tweak.
Complete directories when handling unmaintained files for add.
Rationalise code and comments around this.
2014-09-23 12:38:46 +01:00
Peter Stephenson
8e83bdd288 unposted: add dvipdf to _dvi command list 2014-09-23 09:45:29 +01:00
Oliver Kiddle
88f358a61e 33198: new augeas completion 2014-09-22 23:57:32 +02:00
Marc Finet
089123f9e8 33150: completion git: fix send-email --confirm values 2014-09-14 12:02:38 +02:00
Marc Finet
ffd439b69b 33151: completion git: support aliases when \n exist
The git completion for aliases (i.e. completing with aliased verb)
was broken whem some \n exist in aliases.
2014-09-14 12:02:35 +02:00
Alexandre Rames
ed8602ee3f 33108: stgit --patch completion 2014-09-04 15:48:49 +01:00
Barton E. Schaefer
2e99ef809d un-transpose help text for git merge -{-no,}-verify 2014-08-24 08:43:40 -07:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Barton E. Schaefer
4bab43d11d 33046: new completion for "chsh" 2014-08-23 12:37:58 -07:00
Oliver Kiddle
2be0d8bdef 32998: completion function updates 2014-08-14 19:02:48 +02:00
Oliver Kiddle
469ee6daef 32997: new utility function for separated lists 2014-08-14 19:00:04 +02: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
Barton E. Schaefer
0442410c68 32593: update --vga option in _qemu 2014-07-28 19:56:38 -07:00
Axel Beckert
efde0a1296 32911: Expand bpython completion to bpython2 and bpython3 2014-07-26 22:11:24 +02:00
Sebastian Ramacher
a7d7c77b7b 32816: Add completion for bpython and variants 2014-07-26 21:58:11 +02:00
Omari Norman
33351b14f6 32817: Add completion for moosic 2014-07-26 20:54:03 +02:00
Keerthan jai.c
341d443414 users/18981: improved tmux function completion 2014-07-23 21:13:49 +01:00
Barton E. Schaefer
52d4cd2e91 Resolve conflict with origin/master 2014-07-23 08:49:17 -07:00
Oliver Kiddle
fbcf719e28 32848: fix words array before using _normal for script arguments 2014-07-17 16:58:23 +02:00
Koen Wilde
7d5db0d277 32863: completion for mpc insert command 2014-07-15 19:32:05 +01:00
Vincent Lefevre
d5886eb3ed 32818: gzip completion: --rsyncable option is missing
Debian's gzip version has a --rsyncable option (see "gzip --help"
output, the man page not being currently up to date). It should be
supported by "/usr/share/zsh/functions/Completion/Unix/_gzip".

Initially submitted to Debian at https://bugs.debian.org/702000
2014-07-04 00:48:12 +02:00
Mikael Magnusson
8088a453b4 32821: Update _gcc as of GCC 4.8.3 for generic options and x86 2014-07-03 23:57:35 +02:00
Jun T
d13c6dc441 32833: complete Python and Ruby arguments as for Perl 2014-07-03 22:55:42 +01:00
Jun T
c8e5be9d0f 32823: complete file instead of Perl script after - 2014-06-30 20:07:04 +01:00
Andrew Magee
605cc1ba57 19939: hg committable files 2014-06-06 21:51:17 +01:00
Barton E. Schaefer
f5ad1ccbd6 32653: complete files with the ".phar" extension as well as ".php"
Also respect the suffixes zstyle to change the extensions
2014-06-01 15:21:13 -07:00
Peter Stephenson
5554cf8244 users/18860: man -M overrides manpath 2014-05-29 21:39:02 +01:00
Sebastien Alaiwan
7b1b1dbb45 32562: updates for bzr completion 2014-04-23 16:18:01 +01:00
llua
fe40b9c2a3 complete zfs ... -o multiple times 2014-04-06 16:57:48 +01:00
Danek Duvall
4dfe62640a 32505: improved Solaris compatibility for pgrep completion 2014-03-28 20:24:16 +00:00
m0viefreak
cd2eb07a78 m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting

Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Takeshi Banse
ab917d4a0e 32502: fix typo in argument list for git completio 2014-03-21 19:42:02 +00:00
Peter Stephenson
fd4ac0a8c2 unposted: in Perforce path completion complete depots after // 2014-03-20 09:35:18 +00:00
Kosuke Asami
89c2342dd8 32471: tidy up pgrep completion 2014-03-13 20:03:56 +00:00
Kosuke Asami
d91732acba 32471: handle BSD process management in pgrep completion 2014-03-13 20:02:53 +00:00
Kosuke Asami
de68b6bbf1 32472: new pgrep completion options 2014-03-13 20:01:15 +00:00
Peter Stephenson
f798f13b0e Fix merge conflict 2014-02-28 18:45:35 +00:00
Jun T
7d7242405a 32435: improved quoting for ignore-line completion style 2014-02-26 20:39:11 +00:00
Oliver Kiddle
079540cc78 users/18485: add .. as an auto-removable suffix in git revision ranges 2014-02-25 08:59:20 +01:00
Hong Xu
e5b55ebf45 Fix outdated npm completion 2014-02-24 09:32:01 +00:00
Sebastien Alaiwan
afe7ff6b5d 32642: improve bzr completion with directory path 2014-02-24 09:30:04 +00:00
m0viefreak
b97808fba2 32398: _git: completion updates up to latest git v1.9.0
- cherry-pick: allow commit ranges to be specified
- push: option is called --set-upstream and not --set-upstream-to
- status: offer -b,--branch when --porcelain or -z are given
  --porcelain and -z don't show the branch info by default, so it
  is needed to offer --branch for those options, too.
- checkout: add '--detach' option
- checkout: offer '-l' option when '--orphan' was given
- show-ref: update wording of --head and --heads according to man-page
- config: update default value for color.ui
  color-bool was changed to accept a default value as $parts[5]
- add support for 'cygstart' as a valid builtin browser on cygwin
- rebase: add suuport for --autostash and config.autostash
- update builtin browser list
- grep: add --{no,}textconv
- check-ignore: add --no-index
- update-ref: add --stdin -z
- add -C
- pull: add support for --rebase=preserve
- config: add support for http.*. options
- blame: -L can be given multiple times
- config: add support for http.savecookies
- push: add support for --force-with-lease
- diff: --diff-filter: allow lower-case variants (all-but ... specs)
- config: add support for 'fetch.prune' and 'remote.*.prune'
- check-ignore: -z: update message, check-attr: add -z
- config: add diff.orderfile
- revision options: add --exclude
- revision options: add --ignore-missing
- revision options: add --bisect
- rev-parse: add --stuck-long
- merge-base: add --fork-point
- config: implement submodule.*.update completion
- send-email: add --smtp-ssl-cert-path and config options
2014-02-18 12:22:21 +01:00
m0viefreak
f8e874ef9d 32397: _git: fix __git_submodules to only use the actual name of the submodule
The output of 'submodule status' is

Xsha1 name (describe)

X being one of -,+,U,[space]

We are only interested in the name part and not the whole line.

Fix the parameter expansions accordingly.
2014-02-18 12:22:21 +01:00
m0viefreak
139ee0e351 32395: _git: diff: refactor and fix wrong completions
Before this, there were several cases where the completion
would offer the wrong things:

$ git diff branch -- <tab>

would try to complete "changed in workdir files", but needs to
complete all "tree files in HEAD".

$ git diff --cached -- file1 file2 <tab>
would try to complete "changed in workdir files" but needs to
complete "changed in index files".

...

After this change all possible combinations are taken into
account and completion should work properly.
2014-02-18 12:22:16 +01:00
m0viefreak
946a99a0b3 32396: _git: fix __git_committish_range_{first,last} and __git_is_committish_range
- Ranges with 3 dots would always fail, because the non-greedy
  expansion  %..(.|)* in __git_committish_range_first would only
  remove '..' and never three dots. 'a...b' would end up in 'a.'.
  Use ${${1%..*}%.} instead.
- Use a similar approach for __git_committish_range_last.
- Wrap them in another expansion to replace empty results with 'HEAD'.
  Git man-page states omitted range ending are being replaced with
  HEAD. This rule has to be followed to make completions like
  'git log foo.. -- <tab>' work properly.
- Add an additional check to make sure none of the extracted first/last
  parts contain additional '..' in invalied ranges such as 'a..b..c'.
  This gets rid of the 'TODO:' and ideally saves a few unneded
  calls to git rev-parse.
2014-02-18 12:19:23 +01:00
Jun T
1531d0463c 32300: new od completion 2014-01-30 15:53:47 +00:00
Christian Hesse
0ab7834a15 32316: complete new ssh key type 2014-01-29 09:24:54 +00:00
Barton E. Schaefer
a2098b0b26 users/18368: compromise to restore partial path completion inadvertently removed by 31159 2014-01-27 21:54:13 -08:00
Peter Stephenson
ff74ffb0f3 32255: complet for python under some pythonN.M names 2014-01-14 15:44:49 +00:00
Koen Wilde
8fd6d5766c 32245: complete more mpc arguments 2014-01-10 22:26:30 +00:00
Mark Oteiza
3267b454d8 32238: suppress error output completing after ip 2014-01-07 19:25:32 +00:00
Jun T
ff650ada05 32231: _chmod was confused by options before the mode 2014-01-05 18:04:15 +00:00
Danek Duvall
ef2eaf1f78 32261: completion updates for Solaris 11, Update 1 2014-01-02 22:26:04 +00:00
Jun T
82cf0f5940 32056: Handle completion for different versions of iconv 2013-12-09 10:31:49 +00:00
Hong Xu
567b494033 32069: completion for "git submodule update --remote" 2013-11-30 12:46:19 -08:00
Peter Stephenson
4163ebf4c7 unposted, see 32054: Rationalise character encoding.
Shell functions are strictly ASCII for maximum portability.

Other files within the distribution may contain UTF-8 characters.

Exception for test files: where they need single character input
with the top bit set, ISO-8859-X is used (X doesn't matter as
we don't need the Euro).
2013-11-27 15:56:44 +00:00
Peter Stephenson
7423ac14e5 unposted, see 32050, 32051: remove non-ASCII characters in functions 2013-11-25 16:11:10 +00:00
Peter Stephenson
412116e02b unposted: Prepare 5.0.2-test-2. 2013-11-25 11:07:47 +00:00
Jun T
42fabadc35 31984: new df completion 2013-11-14 15:10:57 +00:00
Jun T
973f8491ed 31909: new cat completion 2013-10-27 16:38:24 +00:00
Øystein Walle
95a5ca90d9 31865: _git: Make --batch(-check) accept an argument
Also reword the explanation slightly to make it more compact since more
explanation is needed.
2013-10-21 17:40:13 +02:00
Øystein Walle
3d77fa789d 31864: _git: Add two sub-comamnds introduced in v1.8.4
Add _git-check-ignore() and _git-check-mailmap()
2013-10-21 17:40:12 +02:00
Øystein Walle
32ffba1214 31866: _git: Reword --heads to match new meaning 2013-10-21 17:40:09 +02:00
Øystein Walle
baee0a2295 31862: _git: Add status.short and status.branch 2013-10-21 17:40:07 +02:00
Øystein Walle
805b665901 31863: _git: Add new arguments introduced in Git v1.8.4 2013-10-21 17:40:03 +02:00
Øystein Walle
e91d90125b 31861: _git: Add git-clean -i/--interactive support
- Add -i and --interactive to _git-clean()
 - Add column.clean configuration variable
2013-10-21 17:40:01 +02:00
m0viefreak
7a37568b8c 31855: _git: revert: add '-e,--edit' 2013-10-21 17:39:59 +02:00
m0viefreak
2c1affc6c1 31856: _git: fix a few "undocumented" options
commit: '--null' is documented
relink: '-h,--help' are never documented for subcommands but always exist
verify-tag: '-v,--verbose' are documented with updated description
diff: '--cumulative' is deprecated -> remove
2013-10-21 17:39:57 +02:00
Øystein Walle
07ca60acf4 31858: _git: fix wrong default value 2013-10-21 17:39:56 +02:00
m0viefreak
80cb8e947f 31857: _git: Remove unsupported -q option from diff options 2013-10-21 17:39:53 +02:00
Øystein Walle
5585b95f3c 31859: _git: re-order the last two git-blame arguments
The proper syntax is git blame [<commit>] <file> where <commit> is optional.
2013-10-21 17:39:50 +02:00
Øystein Walle
7872a5becd 31854: _git: Make git-show accept diff arguments 2013-10-21 17:39:48 +02:00
Øystein Walle
34ba14e1ec 31853: _git: Add missing column.* config variables 2013-10-21 17:39:46 +02:00
Barton E. Schaefer
87c482d751 31840: "read" needs IFS unset to avoid stripping whitespace in makefiles 2013-10-18 08:35:22 -07:00
Barton E. Schaefer
d5ba3ed245 31818: fix completion for zsh in _sh, and document the _arguments behavior that made the fix necessary
To avoid side effects, reposition the _arguments call in _sh for the zsh
special case. Document the side effects so avoided, and clean up the
_arguments documentation a bit along the way.
2013-10-12 09:19:24 -07:00
Wayne Davison
7e4fd18519 Add new options for rsync 3.1.0. 2013-10-06 16:53:21 -07:00
m0viefreak
8a70a98577 31754: _git: git rm: make git rm --cached work as intended
While limiting the completion to __git_changed-in-index_files
makes perfect sense for "git diff", it is wrong to use for
"git rm", because it prevents it from completing files present in
HEAD. Giving --cached to git rm is supposed to
"just remove it from the index, keep the working tree copy"
and is in no way related to the file needing to be
modified in the index in the first place.
2013-09-22 14:01:16 +02:00
Øystein Walle
2025b05bcf 31752: _git: change completion text for consistency 2013-09-22 14:01:15 +02:00
m0viefreak
128de883bd 31753: _git: correct some "undocumented" options
diff options:
  --cumulative is deprecated --> remove
  -G / -S: reword -S to emphase the difference to -G

revision options:
  --abbrev: reword, to emphase the --abbrev-commit requirement
2013-09-22 14:01:15 +02:00
Øystein Walle
cf0eae5d96 31751: _git: remove TODOs of actually documented options
No functional changes.
2013-09-22 14:01:14 +02:00
Øystein Walle
ab05a3d6d4 31749: _git: fix some typos in description texts 2013-09-22 14:01:13 +02:00
m0viefreak
735e7becb9 31748: _git: support completing remote branches without <remote>/ prefix
this is used in git 1.8's
git checkout <branch>
as a shorthand for
git checkout -b <branch> --track <remote>/<branch>
in case <branch> exists on exactly one remote and is not a local branch
2013-09-22 14:01:12 +02:00
m0viefreak
e45f685d4a 31746: _git: reword _git-config TODO
Support for merge drivers, filter drivers, and diff drivers is
missing.
2013-09-22 14:01:12 +02:00
Øystein Walle
5ec6a1510a 31750: _git: add new configuration options to match latest git v1.8.3 2013-09-22 14:01:11 +02:00
Øystein Walle
6c4c11929c 31747: _git: completion updates to match latest git v1.8.3 part 2 2013-09-22 14:01:10 +02:00
m0viefreak
f20ba1a51e 31755: _git: completion updates to match latest git v1.8.3 2013-09-22 14:01:09 +02:00
m0viefreak
06d58592ab 31745: _git: correctly use __git_guard_number in some cases
The space is relevant to make the help text work as intended.
2013-09-22 14:01:08 +02:00
m0viefreak
ef4157fac4 31744: _git: make git submodule <cmd> completion work
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
2013-09-22 14:01:08 +02:00
m0viefreak
2813d8aa98 31743: _git: fix usage of ->int: for some entries in _git-config 2013-09-22 14:01:07 +02:00
m0viefreak
5f427b8245 31741: _git: fix a wrong variable in __git_config_values
This probably was a copy/paste mistake.
2013-09-22 14:01:06 +02:00
Luka Perkov
075ad840d6 31726: _git: add few more arguments for cherry-pick and revert
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Luka Perkov
99e3aa58da 31723: _systemd: add more system commands
While at it move suspend command so the order of the
sytem commands equals the one in the systemd help.

Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Luka Perkov
c721356646 31708: _git: add --fixup and --squash options to commit
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-07 10:09:11 +02:00
Luka Perkov
a4245da999 31702: check for git rebase -i for autosquash 2013-09-06 21:48:00 +01:00
Peter Stephenson
1a4730b8ee based on 31641, 31642: completion for more make variants 2013-08-29 10:46:52 +01:00
Jun T
c5d9abc6c8 31756: further make completion improvements.
ake care of mutually exclusive options.
Add _description using $state_descr.
Add completions for --debug=flag.
Fix typo (pointed out by Daniel Shahaf).
2013-07-25 09:47:47 +01:00
Richard Hartmann
f9851d817f 31571: Completion/Unix/Command/_vcsh: Update 2013-07-24 22:03:55 +02:00
Eric Cook
4e3f838269 31558: name of qemu executable changed in completion. 2013-07-22 19:03:54 +01:00
Peter Stephenson
9a192dddd2 c.f. 31531: complete xcf files for image manipulation packages 2013-07-19 19:30:27 +01:00
Jun T
29256a7c96 31525: Fix some options in _make 2013-07-17 19:27:20 +01:00
Nick Cross
a71b8df9b2 Update make completion with gnu options 2013-07-12 09:37:36 +01:00
Peter Stephenson
7e17ea8016 users/17856: rewrite _make to use _arguments.
No new option handling yet, but this should make it easier to add.
2013-07-11 11:14:38 +01:00
Peter Stephenson
95c044372a 31433: zcat -f doesn't need suffix .gz 2013-05-29 19:21:34 +01:00
Peter Stephenson
aa7467b0bf Improve Perforce jobs completion to limit
potentially huge output using jobview by default;
fix quoting of arguments passed on to eval within _call_program.
2013-05-14 14:25:14 +01:00
Jun T
cbf6f144a9 31357: _cp: add support for Mac OS X
If not GNU nor darwin, assume POSIX.
2013-04-29 17:11:05 +02:00
Peter Stephenson
8ab3a7b0e6 31356: typo in new _comp_locale noted by Bart 2013-04-29 15:07:30 +01:00
Peter Stephenson
8cdb57b3b7 31355: _comp_locale tries to sanitise locales but keep CTYPE;
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Ramkumar Ramachandra
2ea9cd4775 31288: _git: fix shortlog completer
Currently, __git-shortlog () says that 'git shortlog' can only accept
commits as arguments (probably because the official documentation says
this).  This is entirely untrue: shortlog can accept
commit-range-or-file, just like log can.  Fix the completer by copying
out segments from the __git-log () function.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-25 14:36:08 +02:00
Ramkumar Ramachandra
cbdedcfbfe 31289: _git: branch.*.pushremote, remote.pushdefault
The configuration variables branch.*.pushremote and remote.pushdefault
are relatively new, and are currently not completed by ZSH.  Fix this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:44 +02:00
Ramkumar Ramachandra
d1a3075293 31286: _git: add a couple of browsers
Add google-chrome/chromium to the list of builtinbrowsers in
__git_browsers ().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:43 +02:00
Torstein Hegge
cc7437bf2f 31159: git: Pass prefix filter to ls-files even if it matches no files
When a branch or tag name is completed with zsh in a large git repo, the
completion is slow if the given prefix doesn't match a file or directory in
the current working directory. Testing with linux.git, which contains release
tags like v3.9 and a directory virt/:

  git log v<tab>

takes about 0.5 seconds, while

  git log v3<tab>

takes about 25 seconds.

(Timed using zsh 4.3.17, on a fairly slow cpu. zsh from git appears to be
quite a bit faster, but the difference between completing v and v3 is still
large.)

The difference between the two is that v<tab> passes the result of v* to git
ls-files while v3<tab> determines that v3* matches no files, and passes an
empty prefix to git ls-files. So git ls-files lists all files in the repo
and passes that on to _multi_parts.

Making git do the expansion of the * after the prefix lets git ls-files v3*
return an empty list, making _multi_parts job easier.

This does not affect the behavior of git log <tab>, but improves the
performance of partial tag and branch tab-completion in the common case where
file names and tag/branch names don't overlap.
2013-04-20 22:29:02 +02:00
Jun T
452aa5157a 31281: _du: add support for Mac OS X 2013-04-20 11:56:04 +02:00
Peter Stephenson
7514fe4a66 Daniel Friesel: 31265: improved option handling for devtodo. 2013-04-16 09:46:46 +01:00
Peter Stephenson
18bba82101 unposted: fix some .distfiles which mention files that have gone 2013-04-08 20:23:42 +01:00
Frank Terbeck
abb32da0e7 31221: Handle zero defined aliases better 2013-04-05 20:19:33 +02:00
Peter Stephenson
0c32aa6274 31203: add new etags completion. 2013-04-04 16:02:52 +01:00
Mikael Magnusson
7c50da8394 31182: _awk: Allow sticked arguments 2013-03-29 09:46:18 +00:00
Peter Stephenson
275ba0fdca Han Pingtian: 31167 (with tweak): limit use of colons for recognising
remote path in ssh completion
2013-03-20 20:33:45 +00:00
Mikael Magnusson
ba88c42a5b 30490: _java: -keystore takes a file argument, so complete files 2013-03-10 12:38:18 +00:00
Oliver Kiddle
ac22eab0d9 31077: update for new options in GNU sort 2013-02-27 22:17:29 +00:00
Oliver Kiddle
c2e00298c2 c.f. 31071: remove duplicate _osc and rename _ps to avoid name clash 2013-02-27 21:43:15 +00:00
Oliver Kiddle
a409dbf74c 31058: add completion of options from newer versions of some commands 2013-02-21 10:49:22 +00:00
Peter Stephenson
01f4ac2782 Eric P Mangold: 31016: updated twisted completion using internally
generated function
2013-02-03 19:40:23 +00:00
Mikael Magnusson
af68fb3cf4 Fix _prove completer commit (was html) 2013-02-01 13:30:35 +00:00
Peter Stephenson
f90cb99208 Jesper Nygårds: 31012: gradle completion update 2013-01-29 19:32:22 +00:00
Peter Stephenson
0969fb91fa 30960: Alexey Bezhan: compatibility issue with django completion 2013-01-14 09:56:07 +00:00
Peter Stephenson
eac4352342 30958: Jeremy Mates: new prove completion 2013-01-10 20:37:22 +00:00
Peter Stephenson
7152094541 Missing .distfiles entries 2012-12-16 18:48:35 +00:00
Peter Stephenson
1869eeb393 30876: fix obscure failures to propagate non-zero status
from optimised simple commands within lists
2012-12-13 10:36:59 +00:00
Oliver Kiddle
968a7a2a51 30811: new completion for btrfs and complete btrfs and ext4 mount options
and new linux mount flags
2012-11-20 23:08:15 +00:00
Oliver Kiddle
ee040c6ba5 30802: add new command switches 2012-11-16 23:01:06 +00:00
Peter Stephenson
1446625072 Michal Halenka: 30800: fix arpping option 2012-11-15 21:04:07 +00:00
Oliver Kiddle
431eac1278 30795: new xz completion and comple --fast and --best for bzip2 2012-11-12 08:47:16 +00:00
Oliver Kiddle
599ad93a93 30794: update completions for new options 2012-11-12 08:21:15 +00:00
Oliver Kiddle
3f8decaf7d 30793: account for eglibc in _pick_variant patterns 2012-11-11 22:18:16 +00:00
Oliver Kiddle
ce658b3c3c Benjamin R. Haskell: 30737: make custom completions for git aliases easier 2012-11-07 21:23:06 +00:00
Oliver Kiddle
a8ffff2cb7 users/17382: complete URLs for vim and make _remote_files more
consistent with _files
2012-11-07 20:59:09 +00:00
Peter Stephenson
c74171da36 Roman Kaminski: 30738: bzr send command 2012-10-19 12:53:48 +00:00
Peter Stephenson
4e38ba5e4c Greg Bouzakis: 30741: add suspend command to systemd completion 2012-10-19 12:49:42 +00:00
Oliver Kiddle
fff9a871e4 add evince, zathura, dwb to command lists of basic completions 2012-10-07 12:57:24 +00:00
Peter Stephenson
059501fa7d Aaron Schrab: 30710: perldoc completion updates 2012-09-30 16:14:30 +00:00
Oliver Kiddle
1ca9f9d5d0 30697: new completion definition for dbus-send and dbus-monitor 2012-09-27 23:33:57 +00:00
Peter Stephenson
0c5526bec0 Александр Балезин: 30667: add addrlabl subcommand. 2012-09-15 18:25:17 +00:00
Peter Stephenson
1f5ef83f0f Jun T.: 30658: complete more uniq options 2012-09-05 14:54:39 +00:00
Peter Stephenson
a090655b16 Silas Silva: users/17223: lp page-ranges option. 2012-09-05 09:09:48 +00:00
Peter Stephenson
32438824c0 Aaron Schrab: 30636: telnet-ssl option completion 2012-08-23 09:10:12 +00:00
Peter Stephenson
fb7fceebea Aaron Schrab: 30637: -b telnet option completion 2012-08-23 09:09:22 +00:00
Peter Stephenson
eaff57eb12 Aaron Schrab: 30638: IPv4 and IPv6 telnet option completion 2012-08-23 09:07:58 +00:00
Peter Stephenson
6bd2befae7 Stepan Koltsov: 30632: new _clay completion 2012-08-17 15:47:41 +00:00
Peter Stephenson
3bc4f8f6a2 30632: gcc completion enhancements for clang etc. 2012-08-17 15:43:25 +00:00
Peter Stephenson
787df27854 ChangeLog-5.0 should be ChangeLog-4.3, Bart says 2012-08-14 09:04:55 +00:00
Peter Stephenson
a4c85df8eb Michal Halenika: 30608: _ip syntax fix 2012-08-13 19:39:13 +00:00
Peter Stephenson
a00b866099 cat_in_136: 17200: new lha and nkf completions 2012-08-07 18:43:40 +00:00
Peter Stephenson
c5c3cd9af1 add _mosh to .distfiles 2012-07-15 18:11:22 +00:00
Peter Stephenson
b2722856e2 Danek: 30562: Solaris completion updates 2012-07-08 17:54:01 +00:00
Peter Stephenson
71052cb69c Danek (plus .distfiles): 30520: updated Solaris 11 copmletion 2012-06-21 08:50:14 +00:00
Clint Adams
f9257b66c8 30503: rudimentary completion for mosh. 2012-06-10 03:35:51 +00:00
Mikael Magnusson
02a3fc7271 Jeremy Mates: 30505: Allow multiple --header= in _wget 2012-06-10 03:25:39 +00:00
Peter Stephenson
d65a9da50a 30497: xsltproc option completion issue 2012-06-06 13:22:15 +00:00
Peter Stephenson
07933936f3 Foudil Brétel: _systemctl -> _systemd plus enhancements 2012-05-31 08:38:55 +00:00
Peter Stephenson
7d09ec507c Jun T.: 30483: improved completion on MacOS 2012-05-22 08:58:41 +00:00
Peter Stephenson
338c70ff56 c.f 30482 (Peter Jaros): typo in description. 2012-05-21 16:31:11 +00:00
Mikael Magnusson
95f02efe7e 30474: add ssh -O cancel completion 2012-05-17 13:37:08 +00:00
Mikael Magnusson
8da652f6ae 30456: Completion/Unix/Command/_getconf: Use new array syntax. 2012-05-01 12:33:13 +00:00
Mikael Magnusson
8afbb00962 30429: avoid error in _init_d when service doesn't exist 2012-04-25 09:12:58 +00:00
Mikael Magnusson
8bb9818cd4 30378: new gradle completion 2012-03-25 14:50:44 +00:00
Mikael Magnusson
511fc6e367 30368: _tmux: complete arguments to unambiguous partial subcommands 2012-03-24 22:49:20 +00:00
Mikael Magnusson
9db1831828 30372: _tmux: redirect errors to /dev/null 2012-03-24 22:47:34 +00:00
Mikael Magnusson
f3a1ac84b0 30371: _ssh: you can specify -i multiple times 2012-03-24 22:46:04 +00:00
Peter Stephenson
6985875634 30354: Luka Perkov: quilt completion update 2012-03-13 09:48:14 +00:00
Peter Stephenson
a0d24f0bf3 Alexey: 30322: Completion/Unix/Command/_xmlsoft: accept more
file types.
2012-03-06 20:08:54 +00:00
Mikael Magnusson
43ddb73297 unposted: fix a typo in _git from previous commit (reolved) 2012-03-06 16:38:25 +00:00
Clint Adams
45090b19df 30317: complete git merge --ff-only 2012-03-06 02:36:12 +00:00
Clint Adams
50a3065dc2 30314: add completion for ssh-copy-id. 2012-03-05 16:03:11 +00:00
Oliver Kiddle
1fe821a8a1 30198: fix environ style lookup to be done in conventional manner 2012-02-14 17:01:17 +00:00
Mikael Magnusson
cbbed5ed84 30206: Fix ldd completion 2012-02-11 12:56:15 +00:00
Oliver Kiddle
c5fce37bce 30199: add (-.) to many completion _files globs 2012-02-10 17:09:05 +00:00
Oliver Kiddle
32eb4faf7c 30197: complete subversion changelists 2012-02-10 16:00:59 +00:00
Peter Stephenson
9c21d0baae seiler via Ismail: 30174: osc completion update 2012-01-31 11:49:50 +00:00
Peter Stephenson
a14bba1ae8 Ben: 30118: sqlite completion 2012-01-23 10:03:08 +00:00
Peter Stephenson
737a87654f Richard Hartmann: 30110: new vcsh Completion 2012-01-15 18:08:27 +00:00
Peter Stephenson
cd40e8caf6 Stepan Koltsov: 30105: fix stgit delete completion 2012-01-09 19:48:12 +00:00
Peter Stephenson
1ea6009209 T.C. Hollingsworth: 30036: new systemctl argument completion 2011-12-21 22:24:45 +00:00
Peter Stephenson
0082320b79 Simon Olofsson: fix matching of subversion help text 2011-12-16 09:18:34 +00:00
Mikael Magnusson
fd1c2364f4 30019: _tar: fix parsing of argument to -C. 2011-12-13 19:33:15 +00:00
Mikael Magnusson
02dc5c681e 29998: _git: fix a typo (--rerbose). 2011-12-13 19:28:19 +00:00
Mikael Magnusson
a7794bd153 29961: _ssh: extend option completion. 2011-12-10 19:37:35 +00:00
Mikael Magnusson
ac78bd010c 29962: Actually return ret in _ssh. 2011-12-10 19:35:49 +00:00
Simon Ruderich
d374f2b180 29918: Completion: Add new _remote_files() helper and use it to reduce code duplication. 2011-12-09 22:39:08 +00:00
Simon Ruderich
3e1146677f 29917: Completion/Unix/Command/_ssh: Tabs to spaces. 2011-12-09 22:32:52 +00:00
Mikael Magnusson
45cd289e49 29876: Update getent completion. 2011-12-09 14:51:54 +00:00
Peter Stephenson
d6d0297b10 complete directories in _nm 2011-12-01 14:55:28 +00:00
Simon Ruderich
6540e8d8cf 29916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh. 2011-11-24 21:21:46 +00:00
Peter Stephenson
d47847c5f5 29915: new nm completion 2011-11-24 09:16:40 +00:00
Peter Stephenson
b0602dc5b4 Ignacy Gawędzki: 29912: add "--" to ls in ssh completion 2011-11-23 09:50:56 +00:00
Peter Stephenson
7d04b8f486 Foudil Brétel: 29911: systemctl completion updates 2011-11-21 11:31:24 +00:00
Peter Stephenson
5d1b11027b gi1242: users/16587: _lp tidy up 2011-11-20 21:47:10 +00:00
Peter Stephenson
c6722cf086 g1242: printing completion improvements 2011-11-14 09:51:06 +00:00
Peter Stephenson
970adcc4d0 Haakon Riiser: 29895, 29897: _ffmpeg, _nmcli 2011-11-08 09:51:31 +00:00
Simon Ruderich
b337296b93 29893: Completion/Unix/Command/_ssh: Update (mostly) for 5.9. 2011-11-07 20:57:44 +00:00
Peter Stephenson
19550e7713 users/16547: quote p4 arguments with colons in from _describe 2011-10-30 19:39:43 +00:00
Peter Stephenson
e5f1efa5a2 Foudil Brétel: 29842: major update to systemctl completion 2011-10-24 11:32:41 +00:00
Simon Ruderich
7cfd2fcccd 29823: Completion/Unix/Command/_perl: Update for 5.14.1. 2011-10-22 19:47:10 +00:00
Peter Stephenson
4685aae843 small _perforce documentation update 2011-10-17 17:00:48 +00:00
Peter Stephenson
664675dc10 Luka Perkov: 29788: improved quilt completion 2011-09-21 09:31:02 +00:00
Mikael Magnusson
1c2ff68529 29764, 29765: fix various problems with _pgrep. 2011-09-16 12:18:40 +00:00
Peter Stephenson
fdfd451861 unposted: Perforce completion for 2010.2 release 2011-09-07 15:58:54 +00:00
Mikael Magnusson
0e0f259540 29755: add -O stop to to _ssh. 2011-09-07 07:32:57 +00:00
Mikael Magnusson
f3a6bf454d 29740: _wget: add --content-disposition. 2011-09-06 16:19:40 +00:00
Mikael Magnusson
ecbdf148a2 29739: _rsync: redefine _rsync(), -e takes cuddled args 2011-09-06 16:17:46 +00:00
Mikael Magnusson
76524a7f7d 29738: _ssh: Add PreferredAuthentications completion. 2011-09-06 16:15:06 +00:00
Nikolai Weibull
cfdb417a6b 29707: Completion/Unix/Command/_ln: New _ln completer 2011-08-20 07:44:39 +00:00
Mikael Magnusson
cf845a396e 29705: add correct number of slashes when completing //TRANSLIT. 2011-08-18 14:28:49 +00:00
Peter Stephenson
5bbedb3df3 Anthony R Fletcher: users/16260: new systemctl completion 2011-08-17 18:54:30 +00:00
Nikolai Weibull
9e8cdf31b9 29698: Completion/Unix/Command/_git: Complete diff options for git log 2011-08-17 10:50:26 +00:00
Mikael Magnusson
2a79494070 29690: new _twidge and _cryptsetup completers from Daniel Friesel. 2011-08-17 10:24:34 +00:00
Mikael Magnusson
7ae7996614 29683: add -O forward to _ssh. 2011-08-17 10:20:00 +00:00
Frank Terbeck
d557905eb6 Luka Perkov: 29624: _quilt: Improve push' and pop' completion. 2011-07-29 13:07:52 +00:00
Nikolai Weibull
6b42b83f41 * 29582, 29589: Update handling of third-party Git commands 2011-07-22 13:08:25 +00:00
Nikolai Weibull
53998c2cf5 unposted: Completion/Unix/Command/_git: Use _files, not _path_files. 2011-07-22 09:44:22 +00:00
Nikolai Weibull
aad36667de unposted: Completion/Unix/Command/_git: Adjust some TODO items. 2011-07-21 11:37:45 +00:00
Nikolai Weibull
3eb0846645 unposted: Completion/Unix/Command/_git: Update git-add completion to not
complete already given file arguments and also to not list file completions if
an option is being completed.
2011-07-21 10:03:09 +00:00
Nikolai Weibull
d37eda52f3 unposted: Completion/Unix/Command/_git: Fix bug in git-add completion that
prevented -f option from being used correctly.
2011-07-21 09:15:41 +00:00
Nikolai Weibull
e3c1917345 unposted: Completion/Unix/Command/_git: Move _gitk and _tig to correct
location.
2011-07-21 09:08:32 +00:00
Nikolai Weibull
6502b38277 29272: Completion/Unix/Command/_git: Use return values correctly accross all
completion functions.
2011-07-21 09:05:57 +00:00
Peter Stephenson
5f275faa95 Matthieu Baerts: 29547: bzr: cdiff subcommand. 2011-07-18 09:04:00 +00:00
Peter Stephenson
d1a557d008 Eric Moors: 29531: Android debugger completion 2011-07-04 20:14:51 +00:00
Frank Terbeck
eefe297228 29521: _git: Add `user-commands' support again. 2011-07-01 07:38:45 +00:00
Frank Terbeck
77b0e65eda 29519: _git: Pick up addon completions from $fpath. 2011-07-01 07:38:16 +00:00
Frank Terbeck
f5ba9011f0 29527: _git: Make file-completion fallback optional. 2011-07-01 07:37:44 +00:00
Frank Terbeck
3761265e45 29518: _git: Fall back to file completion for unknown sub-commands. 2011-07-01 07:36:48 +00:00
Doug Kearns
67ef9605f1 unposted: clean up completion descriptions as per Etc/completion-style-guide 2011-06-20 02:24:56 +00:00
Doug Kearns
65f7cbeaed 29483: add --servername completion to _vim 2011-06-16 06:23:32 +00:00
Mikael Magnusson
e468775400 29448: complete symlinks to files in _initctl too 2011-06-03 20:53:16 +00:00
Frank Terbeck
8101886e48 29412: _tmux: Disable sub-command completions if tmux is not found in `$path'. 2011-06-01 21:30:11 +00:00
Mikael Magnusson
70e0128c0f users/16057: add _tree 2011-05-31 12:38:32 +00:00
Nikolai Weibull
23102b3a9b unposted: Completion/Unix/Command/_git: Update git-branch completion to deal
with -r and -d correctly.
2011-05-29 15:10:30 +00:00
Mikael Magnusson
4e6035312b 29387: add completion for at and friends 2011-05-27 14:55:55 +00:00
Mikael Magnusson
2865dc2157 29334: complete with _arguments -- for zsh 2011-05-27 14:48:06 +00:00
Mikael Magnusson
ac8c1304ec 29376: redefine _initctl too 2011-05-27 00:12:51 +00:00
Mikael Magnusson
a75cbae6b7 29365: redefine _make() in _make. 2011-05-27 00:10:46 +00:00
Peter Stephenson
9d1976518e Bernhard Tittelbach: 29371: completion for initctl etc. 2011-05-25 19:48:05 +00:00
Mikael Magnusson
5fd16e59db 29364: partial fix for make completion in dirs with spaces. 2011-05-24 01:48:12 +00:00
Peter Stephenson
e051cb908f minor typo 2011-05-23 13:10:24 +00:00
Peter Stephenson
67ce57d609 29341, corrected: go programming language 2011-05-23 12:44:14 +00:00
Mikael Magnusson
59a0b52e61 29328: Another missing backslash in _git, remove some not needed backslashes in array definitions. 2011-05-22 02:13:55 +00:00
Mikael Magnusson
72cb7cfc6f 29307, 29308 + replies: Fix some doubled words in docs and comments. 2011-05-19 16:10:46 +00:00
Wayne Davison
a88f38b2c4 29315: add a missing backslash. 2011-05-18 22:12:18 +00:00
Frank Terbeck
c02d14eae3 Nikolai Weibull: 29166: _git: Speed improvements for file completion. 2011-05-17 18:42:57 +00:00
Nikolai Weibull
62444c9bfc 29273: Completion/Unix/Command/_git: Fix __git_guard_number 2011-05-17 17:15:13 +00:00
Peter Stephenson
23a057a4fa unposted (late commit): updates for 4.3.11-dev-3 2011-05-13 11:56:40 +00:00
Mikael Magnusson
9a5fcb3c31 Nikolai Weibull: 29124: Fix -l option in _git. 2011-05-12 16:01:19 +00:00
Wayne Davison
15180bc0ec 29187: add a missing backslash. 2011-05-08 21:19:29 +00:00
Peter Stephenson
9893f864ba Haakon: 29137: handling of flags in _ffmpeg 2011-05-03 18:38:56 +00:00
Peter Stephenson
f16ab40c06 Haakon: more ffmpeg tweaks 2011-05-01 15:46:46 +00:00
Peter Stephenson
5cd5510eba Haakon Riiser: 29100: clean up of _ffmpeg 2011-04-30 20:58:49 +00:00
Mikael Magnusson
6a69eb2978 _make: add _make- prefix to helper functions 2011-04-27 13:03:41 +00:00
Frank Terbeck
e38f65bba4 Simon Ruderich: 29041: _git: Add completion for `tig'. 2011-04-25 15:04:47 +00:00
Frank Terbeck
12d12ebc92 Felipe Contreras: 29028: _git: Add useful completion for `gitk'. 2011-04-25 11:50:14 +00:00
Frank Terbeck
2b9f9b59e2 29027: _screen: support "/dev/ttyUSB0 [baud]"-style arguments. 2011-04-21 21:05:48 +00:00
Frank Terbeck
37bb9f7353 Valentin Haenel: 29019: Fix git stash completion (apply and pop subcommands). 2011-04-21 20:57:51 +00:00
Peter Stephenson
6112308057 Don't complete p4 reopen to same change. 2011-04-19 15:06:07 +00:00
Frank Terbeck
fe5109bc43 Simon Ruderich: 28927: Fix "git tag -v" completion. 2011-04-15 14:32:09 +00:00
Mikael Magnusson
2c6c147bd3 28998: use correct return status in _make 2011-04-15 09:57:40 +00:00
Peter Stephenson
8020750b3c gi1242+zsh: 28991: fix _svn caching policy 2011-04-13 08:13:04 +00:00
mikamika
c9b0a25bb7 Fix typo in _vim 2011-03-29 10:08:52 +00:00
Frank Terbeck
2895154f89 Johan Sundström: 28890: New _npm completion. 2011-03-20 10:34:33 +00:00
Frank Terbeck
cce858f5ae Nikolai Weibull: 28913: Fix typo which broke `send-email' completion. 2011-03-18 22:43:19 +00:00
Frank Terbeck
b85b9a229d Nikolai Weibull: 28911: Only show modified files for git-checkout without tree. 2011-03-18 22:39:41 +00:00
Frank Terbeck
9e2278e0c1 Nikolai Weibull: 28914: Typo fix in `cvsexportcommit' description 2011-03-18 22:35:52 +00:00
Peter Stephenson
b9cdf11d4f Mikael: users/15875: fix _gpg to use _arguments return status 2011-03-16 14:22:56 +00:00
Peter Stephenson
6a015133bd Baptiste: 28819: FreeBSD completion tweaks 2011-03-01 20:21:59 +00:00
Wayne Davison
f2c4bb42f0 Nikolai Weibull's latest version. 2011-02-27 23:29:53 +00:00
Peter Stephenson
6be3fe2fca 28761: file completion for sccs 2011-02-17 19:54:06 +00:00
Clint Adams
bc71ffe6c9 28648: notmuch completion by Ingmar Vanhassel. 2011-01-24 01:26:13 +00:00
Peter Stephenson
6e95fc9602 28631: gi1242+zsh@gmail.com (as in 28633): completion updates 2011-01-16 20:37:32 +00:00
Clint Adams
53da3d5725 unposted: fix typo in pattern 2011-01-16 15:11:42 +00:00
Peter Stephenson
e72999c092 gi1242+zsh@gmail.com: 28594:
Various new and improved completions
2011-01-09 16:57:01 +00:00
Peter Stephenson
21ee383e28 Mikael: 28585: don't set ret=0 on failure in _mkdir 2011-01-07 09:41:49 +00:00
Peter Stephenson
77281a0905 28574: Ben: use bs format in ri 2011-01-06 19:30:10 +00:00
Bart Schaefer
5d2a7bc3bf 28579: propagate failure status from _arguments in _du so that _complete
will try other completions.
2011-01-06 16:57:40 +00:00
Peter Stephenson
564fd4e8db 28557: Alexey: update 2011-01-05 17:26:17 +00:00
Clint Adams
24622be01c 28548: match psmisc in any case. 2010-12-25 15:31:57 +00:00
Peter Stephenson
dacb22ecbf Mikael: 28484: GNU du completion 2010-12-06 10:17:45 +00:00
Wayne Davison
ddee5deb2d Add completion for help subcommand to _git. 2010-12-04 18:08:12 +00:00
Peter Stephenson
e5ddd5b62f 28468: allow man page completion for files when / is present 2010-12-03 17:24:40 +00:00
Clint Adams
7be8594c8c 28411: complete submodule and annex as subcommands; complete files when the subcommand is unknown. 2010-11-14 19:43:01 +00:00
Peter Stephenson
91564ce04c not quite posted: screen: complete sessions after -S 2010-10-22 16:31:13 +00:00
Peter Stephenson
27a317b168 not quite posted, exactly: improvement to previous _man change 2010-10-21 19:29:09 +00:00
Peter Stephenson
f2081c6bc3 Silas Silva: completion support for man -M 2010-10-21 19:15:29 +00:00
Peter Stephenson
7a4d9bba55 Mikael: 28343: fix setfacl completion 2010-10-12 08:45:06 +00:00
Peter Stephenson
dd061dc2ce Baptiste: 28264: remove the need for sed from _ffmpeg 2010-09-16 12:20:00 +00:00
Peter Stephenson
3865cd0df9 unposted: update Perforce completion for 2010.1 2010-08-23 09:07:09 +00:00
Peter Stephenson
49af8cc847 unposted: more todo.sh commands 2010-08-19 16:08:30 +00:00
Peter Stephenson
42cd6020ea unposted: yet another update to _todo.sh 2010-08-10 17:18:44 +00:00
Peter Stephenson
d2e3b6eb62 unposted: further update to _todo.sh
also I forgot to commit the previous one
2010-08-10 17:13:42 +00:00
Peter Stephenson
0fa931ab7f Holger Macht: 28130: new osc completion 2010-08-05 19:33:47 +00:00
Frank Terbeck
efa5e34c6c 28101: Fix window completion for tmux version 1.3 and newer 2010-07-26 13:56:30 +00:00
Peter Stephenson
b116f33f9a Update version to 4.3.10-dev-2 2010-07-25 21:44:16 +00:00
Wayne Davison
c0325f5233 28000: make the branch arg for "git log" optional. 2010-07-24 19:01:22 +00:00
Peter Stephenson
baee5347e4 28092: let _getconf find more configuration variables 2010-07-20 09:06:55 +00:00
Doug Kearns
af0bfaea08 28078: update _xmlsoft 2010-07-15 14:05:08 +00:00
Doug Kearns
39f8865732 Michael Hwang: 28075: add gpg-zip completion and other improvements to _gpg 2010-07-15 03:16:43 +00:00
Peter Stephenson
50f322298c Jörg Sommer: 28063: suppress warning messages in rubber completion 2010-07-13 08:53:14 +00:00
Clint Adams
4085b07dbd 28060: xmlsoft --nodtdattr completion thanks to Vincent Lefevre. 2010-06-30 12:59:12 +00:00
Doug Kearns
20b3a40783 28056: add option descriptions to _lynx 2010-06-23 01:03:29 +00:00
Doug Kearns
2f4e224103 28055: add some missing options to _vim 2010-06-22 21:59:59 +00:00
Doug Kearns
d455c70fde 28052: remove duplicated completion of the cvs version subcommand 2010-06-22 02:20:44 +00:00
Doug Kearns
9b0e0f348a 28051: update elinks completion for version 0.12pre5 2010-06-22 01:01:07 +00:00
Frank Terbeck
ce22f32bcb Holger Weiss: Completion/Unix/Command/_git: various fixes and enhancements. 2010-06-17 12:22:32 +00:00
Peter Stephenson
48fe737779 Haakon Riiser: 28009: new ffmpeg completion 2010-06-09 08:48:37 +00:00
Doug Kearns
4c2fe82872 Simon Ruderich: 28002: fix bad _feh update commit 2010-06-07 04:59:54 +00:00
Doug Kearns
a54fdc70be unposted: fix incorrectly capitalized completion descriptions 2010-06-06 13:44:11 +00:00
Frank Terbeck
c617e5a07b Holger Weiss: 27977: _git shouldn't return 0 if there are no matches. 2010-06-03 10:34:08 +00:00
Peter Stephenson
5068080f78 Daniel Friesel: 27982: feh completion update 2010-06-01 19:15:35 +00:00
Frank Terbeck
b0aec8054c * 27813: Simon Ruderich: Completion/Unix/Command/_git: Complete some generic symbolic references as heads. 2010-05-02 08:56:25 +00:00
Peter Stephenson
c613f33635 unposted: update to _kfmclient
unposted: update to _perforce for Perforce 2009.2
2010-04-26 13:17:24 +00:00
Peter Stephenson
b230a690fa "Akinori MUSHA: 27892: update service & init completion for FreeBSD 2010-04-20 08:59:32 +00:00
Frank Terbeck
d4bf6fcb84 27798: Alexey I. Froloff: Completion/Unix/Command/_git: support for the `--interactive' option of "git commit". 2010-04-14 22:29:25 +00:00
Clint Adams
2e69c9ffd2 27847: completion for uzbl. 2010-03-30 18:37:36 +00:00
Peter Stephenson
7f3590c68f Alexey: 27789: use _arguments in _sudo 2010-03-15 19:35:26 +00:00
bewater
b2daf9a6fa _git: support for user-specific sub commands 2010-03-04 16:13:54 +00:00
Andrey Borzenkov
0ec69e36e5 27715: fixes for current StGIT version 2010-02-16 15:59:21 +00:00
Peter Stephenson
0951a9ad8d unposted: update .distfiles 2010-02-16 10:50:58 +00:00
Peter Stephenson
35971d292b Frank: 27705: git notes completion 2010-02-13 19:09:28 +00:00
Peter Stephenson
efaf292480 Frank: 27702: git notes completion 2010-02-13 19:04:42 +00:00
Peter Stephenson
a13752e2cb Frank: 27696: another tmux completion update 2010-02-09 17:17:07 +00:00
Peter Stephenson
b8d5ad137c 27665: Frank: tmux completion 2010-02-08 10:30:20 +00:00
Peter Stephenson
5d71d12ed2 27658: work around globbing problems in zip completion 2010-02-08 10:24:38 +00:00
Peter Stephenson
7e9952e016 Mikael: 27647: _cp update 2010-02-02 20:47:26 +00:00
Clint Adams
b49746d827 27617: graphicsmagick completion based on _imagemagick. 2010-01-23 07:16:24 +00:00
Peter Stephenson
6190f5f5e2 Frank: 27606: tmux -d 2010-01-19 09:48:23 +00:00
Clint Adams
fd526797f2 Frank Terbeck: 27586: more tmux completion support. 2010-01-10 03:34:20 +00:00
Clint Adams
b1e8b11abe 27579: allow ssh -S argument to follow immediately the option letter. 2010-01-07 14:02:59 +00:00
Clint Adams
c38161461f 27559: espeak language codes and voice names. 2010-01-04 20:34:34 +00:00
Clint Adams
31ec41022c Jesse Weinstein: 27558: completion for espeak. 2010-01-04 20:16:22 +00:00
Clint Adams
f080ccb15a Chris Lamb: 27545: runserver_plus and files completion for django. 2009-12-29 19:56:14 +00:00
Peter Stephenson
5355700992 Greg: 27529: ULR schemas in subversion completion 2009-12-17 09:47:58 +00:00
Peter Stephenson
c4b72029cd 27518: suggest some more configure argument patterns 2009-12-14 21:35:02 +00:00
Andrey Borzenkov
d9c5241fc5 unposted: add --exclude-dir grep option 2009-12-14 16:53:34 +00:00
Peter Stephenson
c7767889b0 Alexey I. Froloff: 27470: _git update 2009-12-13 22:30:29 +00:00
Wayne Davison
45eef71215 Fixed --human-readable options and arg-acceptance of -f. 2009-12-13 18:22:51 +00:00
Peter Stephenson
2fc15d198a Frank: 27450: another tmux completion update 2009-12-05 19:11:49 +00:00
Clint Adams
e6e2c7f3f8 Frank Terbeck: 27458: set-option -w completion. 2009-12-05 17:38:23 +00:00
Clint Adams
f35932958f 27448: mild understanding of xz-compressed tarballs. 2009-12-03 05:33:14 +00:00
Peter Stephenson
dc71720709 27446: Frank: tmux completion update
27447: document change for waiting for $!
2009-12-02 09:56:42 +00:00
Peter Stephenson
bc51b97d53 Alexey: 27445: ruby completion argument 2009-12-01 19:34:03 +00:00
Peter Stephenson
b7c0ab63f3 Baptiste Daroussin: 27431: _make: fix for FreeBSD 2009-11-24 15:46:54 +00:00
Peter Stephenson
d81fb9f1a8 27430: extend make variable value completion 2009-11-24 11:04:25 +00:00
Peter Stephenson
85842387f8 27429: _make: restore variable value completion
make indentation more standard
2009-11-24 10:14:33 +00:00
Peter Stephenson
b97284cde2 Michael Hwang <michael.a.hwang@gmail.com>: 27428:
improved _make
2009-11-24 10:01:01 +00:00
Clint Adams
f1a8b0ca38 27417: fix completion after gpg --verify-files. 2009-11-20 23:01:17 +00:00
Peter Stephenson
be1e9c189d Greg: 27416: repository path enhancement 2009-11-19 09:48:42 +00:00
Peter Stephenson
9e260715c4 unposted: improvement to whole-path Perforce completion 2009-11-17 14:16:32 +00:00
Peter Stephenson
76e087f4b2 Greg Klanderman: 27409: subversion and URL paths 2009-11-15 17:52:02 +00:00
Peter Stephenson
51f1c08fd7 c.f. 27408: remove _mercurial and put back some 2> /dev/null 2009-11-15 17:50:12 +00:00
Peter Stephenson
ee5574b063 Frank Terbeck: 27407: tmux switch-client completion 2009-11-15 17:44:33 +00:00
Peter Stephenson
d1c26dca90 Benjamin R. Haskell: 27399: argument problem in env completion 2009-11-15 17:42:09 +00:00
Peter Stephenson
6383453f57 Benjamin R. Haskell: users/14565: argument problem in env completion 2009-11-15 17:38:46 +00:00
Bart Schaefer
31012c47d5 Greg K: Replace 27377 with 27391. 2009-11-12 04:19:42 +00:00
Bart Schaefer
816e6be1e0 Alexey Froloff: 27367: Completion/Unix/Command/_ri: update for Ruby 1.9
and later
2009-11-11 16:26:00 +00:00
Bart Schaefer
c864e7790e Frank Terbeck: 27364: Completion/Unix/Command/_tmux: fix cut'n'paste error
in descriptions
2009-11-11 15:54:14 +00:00
Bart Schaefer
f91f79c457 Greg Klanderman: 27377 (slightly tweaked): fix ignored (duplicate) file names 2009-11-10 22:17:02 +00:00
Clint Adams
bce9aa947d Frank Terbeck: 27359: completion for tmux 1.1. 2009-11-07 18:58:45 +00:00
Clint Adams
ce8bb05546 Frank Terbeck: 27359: completion for tmux 1.1. 2009-11-07 18:18:44 +00:00
Clint Adams
ff1a8cff74 27315: update for mpc 0.17. 2009-10-24 04:40:32 +00:00
Clint Adams
5cd9c4b500 27314: update list of mpc search types. 2009-10-24 04:17:39 +00:00
Peter Stephenson
8ed0fad414 27308, based on 27305 from Edgar Merino:
search for init scripts in other locations
2009-10-04 18:20:00 +00:00
Peter Stephenson
1138599033 27244: Daniel Friesel: new feh completion 2009-09-05 19:56:08 +00:00
Peter Stephenson
5b80d50ad3 27233: improved _values handling of optional arguments
mount -o loop= argument is optional
2009-08-28 15:10:27 +00:00
Clint Adams
4a2b5b9137 Mikael Magnusson: 27204: remove stray curly brace. 2009-08-05 00:35:16 +00:00
Peter Stephenson
0cc033db7c Brendan Cully: 27088: new Mercurial completion 2009-07-05 19:24:49 +00:00
Peter Stephenson
7a1f580c03 Nicolas Pouillard: 27028: new darcs completion 2009-07-02 09:00:45 +00:00
Andrey Borzenkov
486c21ad3a unposted: support lzma compression of man pages used in Mandriva 2009-06-28 17:19:59 +00:00
Peter Stephenson
cf87e2562c 27061: Nicolas Lalevée: importing files into ant 2009-06-27 20:22:48 +00:00
Peter Stephenson
96eb8faa7c Baptiste Daroussin: 27033: FreeBSD portaudit and mount completion 2009-06-04 15:32:06 +00:00
Clint Adams
35e80f207e Colin Watson: 27027: completion for bzr switch. 2009-06-02 18:13:05 +00:00
Peter Stephenson
7769912b3f Akinori MUSHA: private communication: fix typo in _subversion 2009-06-02 08:46:56 +00:00
Peter Stephenson
4e5ac964e6 Jun T.: 27010: _date in Darwin 2009-05-28 11:57:18 +00:00
Peter Stephenson
a1d6616455 Julien Langer: 26978: stgit patch name completion 2009-05-22 20:13:17 +00:00
Peter Stephenson
8edf8a0658 26970: Greg Klanderman: _subversion: fix caching. 2009-05-22 15:48:32 +00:00
Clint Adams
cfd6be99ee 26939: clean up xmms2 jump completion. 2009-05-22 02:03:19 +00:00
Clint Adams
9d17392c14 Patrick Schoenfeld: 26977: complete .t files for perl. 2009-05-22 02:01:05 +00:00
Peter Stephenson
a4106e0523 Greg Klanderman: 26964 (modified): PROMPT_EOL_MARK 2009-05-17 18:23:09 +00:00
Andrey Borzenkov
cfd3eab3d6 unposted: fix _getfacl 2009-05-09 13:57:29 +00:00
Peter Stephenson
b2176aa525 update _sudo 2009-05-08 08:42:05 +00:00
Clint Adams
4f622ad570 26937: have git log complete files after branch/range. 2009-05-06 16:38:39 +00:00
Peter Stephenson
0b61406ea9 martin f. krafft: 26922: extend xmms2 completion 2009-05-05 08:47:54 +00:00
Bart Schaefer
7125514c46 users/14076 + workers/26906: Completion/Unix/Command/_ssh: fix autoremoval
of some suffixes.
2009-04-30 18:02:08 +00:00
Peter Stephenson
65168c749c 26900: Ben Haskell: ssh -Y, -x and -X are mutually exclusive 2009-04-29 16:36:53 +00:00
Peter Stephenson
e84adfe6cb 26899: Ingmar Vanhassel: complete ssh -Y 2009-04-29 12:32:37 +00:00
Peter Stephenson
7293813b4e unposted: some .distfiles 2009-04-24 09:11:58 +00:00
Clint Adams
af014926d7 Kalle Olavi Niemitalo: 26850: fix breakage in git write-tree and git send-pack. 2009-04-20 03:15:43 +00:00
Peter Stephenson
9961acc566 Alexey I. Froloff: 26830: stripping of manual page suffixes in completion 2009-04-16 10:03:25 +00:00
Peter Stephenson
28dac24fc6 Evgenii Terechkov: 26831: filter out redundant information in _screen 2009-04-16 10:02:00 +00:00
Peter Stephenson
29684e7c81 26829: Alexey I. Froloff: _rsync miscounts fields 2009-04-16 10:00:26 +00:00
Clint Adams
5f26203583 Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" completion. 2009-04-04 14:53:01 +00:00
Peter Stephenson
1e7c14ee35 26801: add completion for calendar function
add tracking of precommand modifiers that are in effect
2009-04-01 10:57:10 +00:00
Peter Stephenson
6a2d06e5d9 derf@sievert.tabularazor.org: 26701: new devtodo completion 2009-03-09 09:58:01 +00:00
Peter Stephenson
d968acfacd unposted: fix definition of _perforce_whole_path in 26690 2009-03-06 11:23:17 +00:00
Peter Stephenson
3d5474eb60 add whole-path style to _perforce completer 2009-03-04 18:36:14 +00:00
Clint Adams
7c6a25409c Frank Blendinger: 26656: improved gnupod completion. 2009-03-01 23:53:47 +00:00
Clint Adams
e47333d0a9 Chris Lamb: 26655: complete custom Django management commands. 2009-03-01 16:14:33 +00:00
Clint Adams
3b3ff37cc5 Mikael Magnusson: 26596: new git options. 2009-02-25 02:52:47 +00:00
Peter Stephenson
6d52e0ae1a Jörg Sommer: 26582 2009-02-18 21:49:03 +00:00
Peter Stephenson
4ae72f2255 Danek Duvall: 26571: Additions for Solaris 2009-02-14 18:11:44 +00:00
Clint Adams
6ddb18ce29 26565: fix breakage in 26482. 2009-02-12 18:43:54 +00:00
Clint Adams
7b31a15de8 26544: complete pdf files as well as ps. 2009-02-10 18:33:14 +00:00
Clint Adams
debd4b826a 26494: completion for pydoc. 2009-01-30 16:29:06 +00:00
Clint Adams
4b2549e2f4 Ingmar Vanhassel: 26474: add "git describe --tags" completion and fix typos. 2009-01-29 18:10:45 +00:00
Clint Adams
8489d8eb01 Ingmar Vanhassel: 26473: complete "git commit --cleanup=" and "git commit --allow-empty". 2009-01-29 18:09:26 +00:00
Clint Adams
2d61198457 Ingmar Vanhassel: 26472: complete "git add --intent-to-add". 2009-01-29 18:06:37 +00:00
Clint Adams
c1f0bf30a3 Ingmar Vanhassel: 26471: update "git rebase" completion. 2009-01-29 18:05:28 +00:00
Clint Adams
218a7258b4 Ingmar Vanhassel: 26470: update "git svn" completion. 2009-01-29 18:03:06 +00:00
Clint Adams
0b9e0fc3c5 Ingmar Vanhassel: 26469: complete "git clone --verbose". 2009-01-29 17:40:07 +00:00
Clint Adams
f958e846e4 Ingmar Vanhassel: 26468: "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached. 2009-01-29 17:37:48 +00:00
Clint Adams
4ddc411d71 Ingmar Vanhassel: 26467: add "git remote rename" completion. 2009-01-29 17:34:27 +00:00
Clint Adams
844b8b33d3 26483: Completion/Unix/Command/_getfacl, Completion/Unix/Command/_setfacl: handle SGI's acl programs as well as Cygwin's. 2009-01-29 16:27:36 +00:00