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