Eric Cook
40b3d2a1f6
37975: Completion/Unix/Command/_php: remove _arguments' -A option
2016-02-15 22:13:35 -05:00
Barton E. Schaefer
e3188ff0e8
37898: complete gcc linker options
2016-02-14 13:11:20 -08:00
Barton E. Schaefer
485cbbb6cc
37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors
2016-02-14 13:10:06 -08:00
Eric Cook
9cc6ebe7a2
37913: add additional completers and _zpool improvement
2016-02-11 22:53:16 -05:00
Daniel Shahaf
8a59aed696
37924: Completion: _git: Complete files for 'check-ignore'
...
Also, don't leak the parameter 'ret'; the leak was theoretical because
the caller immediately wrote to that parameter.
2016-02-09 03:41:46 +00:00
Daniel Shahaf
a090acab63
unposted: _init_d: Report failure to caller.
2016-01-29 09:14:49 +00:00
Matthew Martin
3c9185272d
37725: Completion: _init_d: add OpenBSD bits
2016-01-23 23:50:10 +00:00
Daniel Shahaf
295133d741
37703: Completion: git: Also complete sendmail commands for send-email's configuration. (after 37666)
2016-01-23 23:50:04 +00:00
Daniel Shahaf
3eb4d9c2e2
37666: Completion: git: 'send-email --smtp-server=' takes absolute path to sendmail.
2016-01-20 07:49:30 +00:00
Daniel Shahaf
c6fc6f80cd
37665: Completion: New helper _absolute_command_paths.
2016-01-20 07:49:29 +00:00
Daniel Shahaf
896f43c72b
37634: _man: Support subsection names such as '3p'.
2016-01-18 02:40:02 +00:00
Daniel Shahaf
35b8e8794f
37634: _man: Disentangle a local variable that had two distinct semantics. No functional change
2016-01-18 02:40:01 +00:00
Daniel Shahaf
c380c9394a
37663: New bibtex completion (very minimal).
2016-01-18 02:39:52 +00:00
Oliver Kiddle
3ca4ffa972
users/21114: new dig completion
2015-12-31 12:47:47 +01:00
Matthew Martin
3272bdce98
37383: add completion type for object files
2015-12-11 11:51:09 +01:00
Daniel Shahaf
e14540ac02
37150: _git: Autocomplete .. for commit ranges
...
This patch makes three changes:
- Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the
".." being autoremovable.
This is implemented by the first hunk. That hunk is a functional
subset of Oliver's users/20705, however, the latter hasn't been
committed.
- Make typing "^" remove the "..", in light of the syntax "foo^..bar".
- Make typing "." _not_ remove the ".." but simply append it, since
"foo...bar" is a valid and useful syntax.
2015-12-05 10:15:40 +00:00
Daniel Shahaf
6a3de994af
36957: _git: Apply matchspecs to filename completion such as 'git log f/b<TAB>' → 'foo/bar.txt's
...
This patch makes 'git log S/e<TAB>' expand to Src/exec.c. The incumbent
code would run 'git ls-tree S/' and find no matches.
2015-12-05 10:15:39 +00:00
Daniel Shahaf
07a300365f
unposted: Remove uneeded executability bits.
2015-12-03 23:49:14 +00:00
Daniel Shahaf
06a24d3747
37163: Remove curl completion
2015-11-27 07:27:09 +00:00
Matthew Martin
d590646673
37100: update for sysctl completion
2015-11-26 09:37:50 +00:00
Daniel Shahaf
c563f1ba83
37164: _tmux: Complete external commands
2015-11-20 03:39:52 +00:00
Daniel Shahaf
d554f31bcb
37149: _git: Complete 'bisect/bad' ref
2015-11-20 03:39:34 +00:00
Daniel Shahaf
afc4d41652
37129: _git: Complete 'commit -p'
2015-11-17 23:31:26 +00:00
Barton E. Schaefer
9ce000db22
37115: update for changes in ${(P)...} evaluation.
2015-11-14 21:22:17 -08:00
Daniel Shahaf
6198f7ffba
37031: _git-merge: Exclude ancestors of HEAD from recent commit completion
...
As done for _git-cherry-pick in a428c6b62c
(36328 + 36340).
2015-11-13 20:17:51 +00:00
Peter Stephenson
20153c573e
37062: tentative mechanism for git commit descriptions.
...
Mechanism for forcing completion system into verbose mode is subject
to change.
2015-11-04 17:37:17 +00:00
Daniel Hahler
9642aeeaeb
35303: remove Completion/Unix/Command/_systemd
...
systemd's upstream version seems to be maintained well, and e.g. on Arch
Linux the version from Zsh gets removed in favour of it.
2015-11-02 02:58:09 +01:00
Oliver Kiddle
fa59375e36
37029: update options and new tr completion
2015-10-31 19:14:36 +01:00
Barton E. Schaefer
682e779a21
unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment about the flip-flopping
2015-10-31 09:54:04 -07:00
Daniel Shahaf
0e510f0c35
37032: Temporarily revert 36959.
2015-10-31 13:03:54 +00:00
Jun-ichi Takimoto
9640e9f497
36983 + 36990: new completions for head and tail
2015-10-29 01:03:18 +09:00
Daniel Shahaf
8b51584246
36962: _git: Fix completion of RHS of refspecs.
...
Before this patch, 'git push $remote :<TAB>' completed branch names (as though
by `git branch -a`), instead of completing remote branch names sans the
${remote}/ prefix.
2015-10-25 18:52:29 +00:00
Daniel Shahaf
cc19bb96b9
36964: _git: Complete remotes branch names with slashes correctly.
...
For example, 'git push remote HEAD:foo/bar' creates such branches.
2015-10-25 18:52:13 +00:00
Daniel Shahaf
b4f7482e44
36960: _git: Enable slash matcher for more branch and tag completions, include 'git branch <TAB>' and 'git tag <TAB>'.
2015-10-25 18:47:35 +00:00
Daniel Shahaf
f890d442e2
36959: _git: Offer @~$n as completion of recent commits.
...
Suggested-by: Oliver Kiddle (users/20705)
2015-10-25 18:47:26 +00:00
Daniel Shahaf
17af119089
36958: _git: Fix recent commit completion descriptions.
...
The uniquifiers 'HEAD~$n' were incorrect when a recent commit was the second
parent of a merge commit. Detect that case and print something correct
instead.
2015-10-25 18:47:11 +00:00
Daniel Shahaf
f8b2c13c97
unposted: _git: Fix 'commit object name' completion messages.
...
Offer the "this alternative is still valid, but I don't know to offer
completions for it" for hash completion but not for recent object completion;
the former is protected by a _guard and the latter incorrectly appeared also in
cases such as 'git log a/b<TAB>' which were not the start of a gitrevisions(7)
expression.
2015-10-25 18:39:34 +00:00
Daniel Shahaf
e3c68450d7
unposted: _beep completion: Actually hook it for the 'beep' command.
2015-10-24 20:42:31 +00:00
Daniel Shahaf
98875bcb05
36900: _git: stash names completion: Display log messages
...
The "$@" argument to compadd is removed because (I think) it contains a -J,
which conflicts with the -V.
Joint with Daniel Hahler.
2015-10-20 14:30:10 +00:00
Eric Cook
c6028f7387
36642: complete jail/unjail zfs subcommands on freebsd
2015-10-19 16:07:43 +02:00
Eric Cook
878d1272fd
36646: handle solaris/openzfs differences; only use -t share on solaris
2015-10-19 16:07:32 +02:00
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