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
679d52fcca
35901: complete full names as removing later components was broken for aliases and unwanted in any case
2015-07-26 09:07:15 +02:00
Antony Lee
77af941a05
faster method of generating list of python modules
2015-07-26 09:55:13 +09:00
Eric Cook
acf1fa6034
35879: fix for subcommands that don't have a second subcommand
2015-07-24 12:31:13 +02:00
Oliver Kiddle
346fcf9b96
35753: allow for numbers after the ( in ternary expressions and fix backslash quoting
2015-07-23 07:24:03 +02: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
Barton E. Schaefer
30dd372bcb
users/20324: add (D) flag for tilde-fied completion listing
...
Also move some more recent code so an old comment is connected to the
correct bit of older code
2015-07-22 13:03:02 -07:00
Mikael Magnusson
b6a2f116a1
unposted: _ps1234: Fix ternary test char completion
2015-07-15 13:47:33 +02:00
Oliver Kiddle
b230e6d11d
35789: (tweaked c.f. Bart: 35791): duplicate glob qualifier handling from _path_files so it is called once and not for each file pattern
2015-07-14 12:48:37 +02:00
Oliver Kiddle
81bfb1a327
35756: use the actual colours in the completion list for terminal colours
2015-07-14 00:30:44 +02:00
Oliver Kiddle
778db04511
35774: fix double formatting of date explanation message
2015-07-14 00:30:43 +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
5951ac13ed
35748: fixes to prompt spec completion where it contains date formats
2015-07-09 14:58:06 +02:00
Oliver Kiddle
bada2f9a21
35749: (c.f. Jun T: 35732): fix exclusion list for flags/modifiers
2015-07-09 14:53:36 +02:00
Oliver Kiddle
5c5654016b
35729: new compadd completion
2015-07-08 12:16:32 +02:00
Matthew Martin
39bc7a212f
35727: support OpenBSD for diff options
2015-07-08 11:45:04 +02:00
Oliver Kiddle
1b4bdcdf3e
35700: complete OS specific date format specifiers and put % in a prefix
2015-07-07 23:06:01 +02:00
Oliver Kiddle
396f68971f
35718: new calendar style date completion
2015-07-07 22:59:00 +02:00
Mikael Magnusson
0b946c18ea
35697: _ps1234, _date_formats: Complete strftime formats for %D{}
2015-07-06 16:21:22 +02:00
Mikael Magnusson
b28ccc4270
35696: _ps1234: complete colors for %F{ and %K{
2015-07-06 16:21:04 +02:00
Mikael Magnusson
439764a43f
35673: Improve _zargs
2015-07-03 14:20:32 +02:00
Peter Stephenson
96fa41a7c8
35663: zpool completion fix needed after completion change
2015-07-02 16:25:59 +01:00
Peter Stephenson
b7aecf6c8e
Don't require MULTI_FUNCDEF in _main_complete.
...
Although it gets set there, _main_complete is parsed to the end first.
2015-06-27 17:50:57 +01:00
Peter Stephenson
a68d22eb00
35573: turn off POSIX_BUILTINS in completion.
...
This is now needed to get suitable OPTIND behaviour.
2015-06-23 12:02:06 +01:00
Oliver Kiddle
fbc64894cc
35568: use symlinks in /proc/$$/path on Solaris and procstat on FreeBSD
2015-06-23 03:30:06 +02: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
b2de9b518e
35527: use list-separator style in cases where separator was hardcoded
2015-06-19 19:54:44 +02:00
Oliver Kiddle
aea461e542
35528: allow for IPREFIX
2015-06-19 19:46:01 +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
Oliver Kiddle
2c301822ca
35521: sort matches numerically and use pfiles on Solaris
2015-06-18 23:42:51 +02:00
Eric Cook
2e1bb72c07
35490: silence errors and avoid blank match due to missing local
2015-06-18 22:41:47 +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
Barton E. Schaefer
a253ada08b
35163: move "show-ambiguity" style to _setup so that more precise context can be applied
2015-06-06 12:35:52 -07:00
Barton E. Schaefer
229bc3cc74
35350: extend "fc -I" to cover listing of "internal" history events only
2015-06-06 12:31:47 -07:00
Peter Stephenson
6b4d6eaa9b
users/20243: turn off GLOB_ASSIGN in completion system.
2015-06-02 14:43:08 +01:00
Daniel Shahaf
ce9d3fd7b7
35270: _describe: Document a known issue described in 35229
...
(which is the same thread as 35127 and 34768)
2015-06-02 10:13:50 +00: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
Oliver Kiddle
72ecc2ef36
Adrien Vergé: 35352: completion for new Redhat package manager
2015-06-02 00:49:09 +02:00
Oliver Kiddle
4c2a62fe86
35310 (plus undo 35268 (git 899613f
)): fix quoting of cached arrays
...
Also add file name reference to ChangeLog entry from rev 899613f
.
2015-05-30 11:14:48 -07: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
Peter Stephenson
899613f535
c.f. 35268: revert completion cache optimisation for now
2015-05-26 10:00:46 +01:00
Eric Cook
d2f0b3ccb2
35292: yum install complets local files
2015-05-26 09:43:12 +01: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
İsmail Dönmez
9584c76fb7
35232: matching parentheses
2015-05-20 13:53:36 +01: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
Oliver Kiddle
15aa99b0fe
35139: complete the new (b) parameter flag
2015-05-15 00:13:30 +02:00
Oliver Kiddle
55716ea337
unposted: include .distfiles for new directory
2015-05-14 22:39:05 +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
Eric Cook
13c6d38e4b
35052: new BSD completions
2015-05-07 09:47:48 +01:00
Peter Stephenson
fa769f27d6
unposted: fix descriptions in previous -zcalc commit (cosmetic)
2015-05-05 14:47:11 +01:00
Peter Stephenson
cfc2a17c4e
35033: trivial zcalc completion
2015-05-05 12:01:06 +01: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
Barton E. Schaefer
54fe61ab32
34961: unquote history words when command line has a quote
2015-04-25 11:05:52 -07:00
Barton E. Schaefer
87e76f89bb
34961: properly handle the case of finding no files when searching $fpath and $_compdir
2015-04-25 11:04:07 -07:00
Barton E. Schaefer
33ff5d06f2
34961: add backslash to alias expansion matching (related to workers/32186)
2015-04-25 10:47:31 -07:00
Oliver Kiddle
f4d8051de1
34940: _fc: fix typo breaking completion for history
2015-04-24 10:59:27 +02:00
Mikael Magnusson
9a0f5ea8a7
Revert "34926: _fc: Remove a spurious 2"
...
This reverts commit dd623b4403
.
2015-04-21 12:16:13 +02:00
Mikael Magnusson
dd623b4403
34926: _fc: Remove a spurious 2
2015-04-19 08:23:11 +02: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
741b0bd97f
users/20159: completion: zstyle: Add 'show-ambiguity'
2015-04-13 21:06:02 +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
Barton E. Schaefer
8254c9c071
users/20034: adjust PREFIX and SUFFIX for unambiguous_cursor on second completion attempt with GLOB_COMPLETE
2015-03-21 09:29:52 -07: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
Mikael Magnusson
205cb16b98
Fix ~ and (Q) order in _zattr
2015-03-15 00:42:01 +01:00
Daniel Shahaf
69ada95acd
34693: sudo completion: Don't false positive 'sudo -e' detection
2015-03-09 20:01:09 +00:00
Daniel Shahaf
c1eda67909
34693: _strace: Fix variable leakage of $sys_calls
2015-03-09 19:59:25 +00:00
Daniel Hahler
ce80a925d6
34638 with tweaks: git completion: complete commit hashes and --fixup
2015-03-07 03:56:48 +00:00
Peter Stephenson
ec03a233c5
34654: Improved rpm -q --whatprovides completion
2015-03-05 14:49:47 +00:00
Daniel Shahaf
19010fafd9
New completion for add-zsh-hook
2015-03-05 09:40:33 +00:00
Matthew Martin
90d433b358
34637: New mixerctl completion for BSD
2015-03-03 09:30:15 +00:00
Daniel Shahaf
49776e807f
34588: Complete 'usermod -a'
2015-02-27 17:21:11 +00:00
Barton E. Schaefer
ae7dcab5ed
34476: change _store_cache assignment format
...
Avoids potentially expensive lexical analysis of the array values.
2015-02-12 09:31:09 -08: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
Jun-ichi Takimoto
2810317ae2
34456: lopts should be initialized as an array
...
otherwise an empty element remains in lopts, which causes
a trouble when _arguments -- '*:' is called.
2015-02-06 23:06:07 +09: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
Daniel Shahaf
20953f53f0
_zstyle vcs_info completion: Add missing styles
2015-01-25 01:42:06 +01:00
Daniel Shahaf
54bfcf5af1
_zstyle vcs_info: Unbreak branchformat completion
...
The failure mode was:
% zstyle ':vcs_info:*' branchformat "foobar%<TAB>
_values:compvalues:10: no multi-letter values with empty separator allowed
2015-01-25 01:42:06 +01:00
Jun-ichi Takimoto
0833518980
34335: fix bugs in _yum_all_pkgs
2015-01-23 23:10:33 +09:00
Jun-ichi Takimoto
102f2aec1e
34327: fix cache identifier used in _cache_invalid
2015-01-22 01:23:18 +09: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
Peter Stephenson
0ea940bb58
34233: function execution trick needed for _qdbus
2015-01-11 17:42:49 +00:00
Barton E. Schaefer
5caf317c3a
unposted (cf. 34218): : remove -m from zmodload calls
2015-01-10 18:06:43 -08:00
Thomas Mitterfellner
9e94cd84c6
34195: new qdbus completion
2015-01-10 19:55:47 +00:00
Barton E. Schaefer
199581f780
34202: safe tempfile creation part 3 -- use zf_ln instead of mv
2015-01-10 10:32:31 -08: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
Timofey Titovets
6425db14a4
34053: complete additional Linux kernel module compression
2015-01-05 10:21:29 +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
Barton E. Schaefer
200accac63
34067: safe tempfile creation, part 1
2014-12-27 23:59:29 -08:00
Daniel Shahaf
89c692eafb
33977: don't complete widgets as first argument to bindkey
2014-12-21 22:23:06 +01:00
Lokesh Mandvekar
e9a640802d
33999: remove docker completion.
...
Versions supplied with docker is authoritative, so version in zsh
is just a potential hazard to the unwary.
2014-12-18 19:15:36 +00:00
Mikael Magnusson
409f069a6a
users/19530: Handle commented lines in /etc/filesystems
2014-12-14 19:48:03 +01:00
Oliver Kiddle
3b7061e4e4
33958: update sudo completion for newer options
2014-12-13 20:04:02 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
Combination of 12 commits from interrupt_abort branch.
Basic strategy is to introduce bits to errflag and to set and
reset them separately.
Remove interrupt status on return to main keymap.
Turn off ERRFLAG_INT for always block.
Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.
Add TRY_BLOCK_INTERRUPT
This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.
Ensure propagation of SIGINT from exited job.
If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.
Reset errflag before precmd()
Add always block in _main_completion to fix ZLS_COLORS
Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt. However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00: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
Peter Stephenson
a4799145da
33843: minor optimisation for recursive-files.
...
Expand the recursive path only the first time we need it.
2014-12-08 09:46:30 +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
Barton E. Schaefer
5e9206061d
33901: fix warning message reference to funcstack (updates 33859)
2014-12-07 11:20:01 -08:00
Daniel Shahaf
908abba891
33883: documentation for (*) glob qualifier
2014-12-07 16:13:39 +00: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
Peter Stephenson
02a8a8c7e4
33866: addendum to completion trap fix
...
We need the multifuncdef option on for the trap function definitions to
work. It is by default by this wasn't enforced for the completion
functions.
2014-12-05 18:08:18 +00:00
Peter Stephenson
b4a198cdda
33859: Fix traps in completion
...
We need to use a function-style trap in order for the effect of the
interrupt to propagate back correctly.
2014-12-05 17:06:28 +00:00
Eric Cook
67c39b09c8
33689: make cp --reflink's argument optional
2014-12-03 16:56:23 +01:00
Barton E. Schaefer
baaa57acaf
33804: hide values of large arrays in typeset output
...
Declare arrays used internally by completion with the -H attribute.
2014-11-27 13:41:13 -08:00
Oliver Kiddle
ee38545c62
users/19365: completer for current directory of other shell processes
2014-11-25 20:03:53 +01:00
Peter Stephenson
9161a16b2e
33729: "git remote add" should complete local repositories
2014-11-23 21:03:37 +00:00
saga
8cd812a1d3
33712: add --auto-remove option
2014-11-21 12:05:22 +01:00
Sebastien Alaiwan
0151ab0749
33728: Complete bzr shelve subcommand
2014-11-21 09:46:54 +00:00
clutton
d6252ce011
33640: look in /boot/modules instead of /modules for third-party modules
2014-11-09 21:59:16 +01: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
Barton E. Schaefer
691547cda6
33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops
...
Two semi-related patches for keyboard interrupt handling in completion,
most importantly so that unexpectedly long completion listings can be
interrupted.
2014-10-29 08:45:57 -07:00
Barton E. Schaefer
e18b5bf0b2
33526: fix completion path prefix handling when NO_CASE_GLOB is in effect
2014-10-24 09:06:32 -07:00
Mikael Magnusson
242b419fbc
33485: fix a missing ;; case terminator
2014-10-24 08:56:31 +02:00
Oliver Kiddle
2ecc4bab41
33486: new completion function
2014-10-21 20:57:01 +02:00
Oliver Kiddle
5e592fd9b0
33485: fixes for zstyle context handling
2014-10-21 20:53:51 +02:00
Oliver Kiddle
af9f623273
33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions
2014-10-21 16:11:09 +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
Oliver Kiddle
03241e50b0
33438: use the new way of splitting strings with a dynamic separator
...
from 33423 and quote separators where needed
2014-10-13 11:13:55 +02:00
Oliver Kiddle
98ce8a658e
33424: use common function for completing Debian architectures
2014-10-11 01:28:10 +02:00
Oliver Kiddle
19f038b5fa
33420: complete -R/-m options and fix feature completion
2014-10-10 17:03:59 +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
Yuri D'Elia
df5d69f50f
33397: new xautolock completion
2014-10-10 15:29:06 +02:00
Barton E. Schaefer
22c4ea424c
33403: be conservative about redirecting _call_program stderr, the caller may have already done so
2014-10-09 17:54:47 -07:00
Oliver Kiddle
00a654af5c
33323: fix bug in removing math functions and complete -M option to functions
2014-10-02 19:29:32 +02:00
Barton E. Schaefer
57252dc1e0
33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion
...
add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
2014-10-02 08:39:43 -07: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
Eric Cook
f59511cb64
33224: complete directory as second btrfs argument
2014-09-24 11:07:26 +01:00
Barton E. Schaefer
5a2668a6ac
33223: discard stderr except when _complete_debug is in progress.
2014-09-23 20:31:31 -07: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
Richard Hartmann
2a0e49f304
33218: complete m4a files for mplayer
2014-09-23 09:43:54 +01:00
Oliver Kiddle
88f358a61e
33198: new augeas completion
2014-09-22 23:57:32 +02:00
Oliver Kiddle
efffe080d5
users/19113: reorganised cryptsetup completion function
2014-09-22 23:57:21 +02:00
Barton E. Schaefer
e1ba30afae
33205: keep array of completions and array of display strings in sync when filtering for matches
2014-09-19 19:42:45 -07:00
Mikael Magnusson
cd09b81626
33137: _path_files: complete # to introduce a glob flag
2014-09-16 00:32:14 +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
Eric Cook
add8d94665
33132: use ip on Linux to get interface names
2014-09-09 09:33:23 +01:00
Mikael Magnusson
c61a927d1d
33061: More useful setopt / unsetopt completion
2014-09-06 11:01:12 +02:00
Alexandre Rames
ed8602ee3f
33108: stgit --patch completion
2014-09-04 15:48:49 +01:00
Barton E. Schaefer
6d9635b0bd
33088: indentation in $PS4
2014-09-03 00:24:29 -07:00
Mark Oteiza
7c7f00e6b1
33081: suppress unnecessary error message
2014-09-01 20:00:47 +01:00
Barton E. Schaefer
e01739d2b7
33069: remove internal quoting before lookup when expanding aliases in an unquoted word
2014-08-30 14:09:23 -07: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
Barton E. Schaefer
e5b504b975
Update .distfiles for _docker
2014-08-20 08:39:24 -07:00
Lokesh Mandvekar
56439df95d
33032: new completion for docker
2014-08-20 08:37:01 -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
Oliver Kiddle
e0966c819c
32925: complete process groups, partly as a way to suppress insertion of ambiguous PID prefix
2014-08-13 17:00:03 +02:00
Oliver Kiddle
2af8b0e2a7
32893: move use of _call_program inside the _tags loop to allow processes to be separated
2014-08-13 16:59:57 +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
Peter Stephenson
c810a072e2
Rename _SuSEconfig to _SUSEconfig
2014-08-06 15:03:44 +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
c971346445
32849: new completion for Linux ss (netstat alternative)
2014-07-17 17:02:54 +02: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
Sebastian Ramacher
2abc8530dd
32814: Add some more recent dpkg options
...
Expands dpkg completion by adding the --add-architecture,
--remove-architecture, and --print-foreign-architectures options.
Initially submitted to Debian at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681518#13
2014-07-04 00:50:06 +02:00
Daniel Bolton
d6c759fc80
32815: aptitude completion missing resolver options
...
Expand aptitude completion by two boolean options
Initially submitted to Debian at https://bugs.debian.org/702760
2014-07-04 00:49:00 +02: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