Daniel Shahaf
67136df0bf
38180: _git: Improve reflog completion.
...
Currently, only used by «git reflog delete <TAB>».
2016-03-21 16:12:10 +00:00
Mikael Magnusson
ee2f0dbed1
38187: _adb: Just check current dir instead of recursively
...
Thanks to LambdaComplex in IRC for help with troubleshooting.
2016-03-19 19:08:11 +01:00
Mikael Magnusson
7ad041c9e9
38186: _adb: fix remote file completion + various fixes
2016-03-19 13:41:27 +01:00
Mikael Magnusson
bc0c3caf60
38179: _adb: Fix completion by mostly reverting 35531
2016-03-18 17:23:37 +01:00
Frank Terbeck
5deb57714f
38161: _tmux: Use a colon to terminate options to _arguments itself
...
In users/21384 it was reported that
% tmux new-session -<tab>
...does not offer -A as a candidate for completion even though the
option is listed in the involved helper function _tmux-new-session().
-A is actually an option the _arguments function uses itself. The
documentation states:
To avoid ambiguity, all options to _arguments itself may
be separated from the spec forms by a single colon.
This commit changes each _arguments call to include the optional
colon, so problems like this are prevented now and hopefully in
the future.
2016-03-16 00:38:37 +01:00
m0viefreak
a1f45b3346
38151: _git: fix tag name of remote branches
2016-03-15 00:07:18 +00:00
m0viefreak
666a7f5845
38148: _git: reflog: complete references next to commands
...
'git reflog show' is the default subcommand, so
git reflog <tab>
should complete subcommands and references.
2016-03-15 00:07:15 +00:00
Daniel Shahaf
527badc237
38129: _git: Fix __git_ignore_line's treatment of shell and pattern metacaracters.
...
Builds upon a patch by Jun T.
Also upgrade/fix __git_pattern_escape.
2016-03-11 22:19:04 +00:00
Daniel Shahaf
98fcdb0861
38128: _git: Fix completion of diffs against the index when treeish isn't shell-safe
...
This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
2016-03-10 23:18:36 +00:00
Daniel Shahaf
be41c522f2
38123 (after 38074): _git reset $treeish: complete only staged files
2016-03-10 23:18:15 +00:00
Daniel Shahaf
33bd9136d6
38120: _git: Document the internal helper function __git_ignore_line.
2016-03-09 14:08:49 +00:00
Jun-ichi Takimoto
983060d5d1
38074: _git reset HEAD: complete only staged files
2016-03-08 21:21:44 +09:00
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
9df6c728e8
37664: docs: Document the completion function _command_names.
2016-01-20 07:49:25 +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
Peter Stephenson
d397e3fca2
37401: pattern error caused too much activity in _list_files for some styles
2015-12-14 11:10:52 +00: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
Matthew Martin
6fe05eac84
37201: change quoting to handle group names with spaces
2015-11-22 19:57:51 -08: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