Oliver Kiddle
82119d8d17
38904: fix return status in _normal and functions erroneously using it for default completion
2016-07-21 17:49:13 +02:00
Marko Myllynen
f117edfabe
38894: completion for virt-admin and libvirt client/server IDs/names
2016-07-21 17:38:48 +02:00
Daniel Shahaf
db9f0d3b3e
unposted (cf. users/21737):: _git-subtree: Record technical debt in comment.
2016-07-17 14:55:35 +00:00
Daniel Shahaf
d09cb7e979
users/21750 (after users/21551): _git-subtree: Tweak -m,-P completions
2016-07-17 14:53:12 +00:00
Oliver Kiddle
9991707b6b
38868: update completions for new options on FreeBSD
2016-07-17 12:37:29 +02:00
Oliver Kiddle
52f46cca75
38867: update strace completion
...
Also factor out completion for system calls and new functions for
truss and ltrace.
2016-07-17 12:32:02 +02:00
Marko Myllynen
ccb45b3201
38837 (tweaked c.f. 38826): new virsh completion
2016-07-17 12:24:08 +02:00
Eric Cook
ac813cfade
38833: separate iostat completion from _sysstat
2016-07-13 21:07:12 -04:00
Oliver Kiddle
304aa25184
38812: a few new completions and update some command options
2016-07-08 23:10:41 +02:00
Jordan Klassen
92d516cfa7
users/21551 (tweaked per users/21560): new git subtree completion
2016-07-05 23:29:40 +02:00
Daniel Shahaf
3a034838b4
38760: _git-config: Stop trying to execute the empty string command name upon completing values for an unknown option.
...
For example:
% git config x.y.z <TAB>
+_git-config:834> case x.y.z (alias.*)
+_git-config:834> case x.y.z (remotes.*)
+_git-config:860> local z=$'\C-@'
+_git-config:861> declare -a parts
+_git-config:862> parts=( '' )
+_git-config:863> (( 1 < 2 ))
+_git-config:863> [[ x.y.z == [^.]##.*.[^.]## ]]
+_git-config:864> parts=( '' )
+_git-config:866> (( 1 > 0 ))
+_git-config:867> case (-\>*)
+_git-config:867> case (*)
+_git-config:1197> declare -a action
+_git-config:1198> _description values expl ''
+_git-config:1199> eval 'action=()'
+(eval):1> action=( )
+_git-config:1200> '' -J values
_git-config:1200: permission denied:
+_git-config:1206> return ret
2016-06-27 00:21:02 +00:00
Daniel Shahaf
3bd8abc40b
unposted: _git-config: Document some line noise.
2016-06-25 16:33:33 +00:00
Daniel Shahaf
59bf331d27
unposted: _git-config: Fix syntax error in 'tag.sort' completion.
2016-06-25 16:32:34 +00:00
Oliver Kiddle
139a4dbe07
38735: support verbose style to allow clearer but less compact descriptions for time specifiers
2016-06-22 01:30:22 +02:00
Oliver Kiddle
bce43df70d
38703: support su options on macOS
2016-06-18 00:08:16 +02:00
Eric Cook
bc1acf5b0e
38676, 38680: Completion for pidof and localedef.
2016-06-14 21:26:58 -04:00
Doug Kearns
2162c1a2d2
unposted: remove unused parameter
2016-06-14 22:00:29 +10:00
Daniel Shahaf
aa160fc8e9
38651: _git: Escape parameter arguments to _call_program.
...
Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
2016-06-13 08:53:17 +00:00
Daniel Shahaf
ec7088296b
38665: _git: config option completion: Quote properly.
2016-06-13 08:53:14 +00:00
Oliver Kiddle
cf01ad96d4
38639: fix username completion after -, update options and get user shell with getent
2016-06-09 22:51:18 +02:00
Daniel Shahaf
0516736eae
38624: _git: Optimize the last commit's __git_recent_branches__names as suggested by Matthew.
2016-06-07 22:53:51 +00:00
Daniel Shahaf
6e834587eb
38592 (plus tweak): _git: New recent branches completion, unused. (Joint with Nils Luxton)
2016-06-07 22:53:46 +00:00
Daniel Shahaf
713eaa055d
38576: _git: Also detect _git-${thirdparty} functions in $fpath that are symlinks.
2016-06-03 02:21:54 +00:00
Marko Myllynen
023e7e463f
38567, 38440: Marko Myllynen: completion for locale(1) and iconvconfig(8)
2016-06-02 22:03:23 -04:00
Frank Terbeck
795b285ce8
38424: Use _baudrates helper instead of _baudrate
2016-05-09 03:40:31 +02:00
Russell Currey
058d957ce5
38393: _git: Fix typo in completion of '--minimal'
...
Signed-off-by: Russell Currey <ruscur@russell.cc>
2016-05-03 11:26:54 +00:00
Frank Terbeck
493c7e0879
38388: Refactor baud rate completion
...
This adds a new helper function _baudrate and uses it in place of
private solutions in various existing completions.
2016-05-02 00:11:06 +02:00
Frank Terbeck
857153c507
38381: Add completion for picocom utility
2016-05-01 04:08:19 +02:00
Daniel Shahaf
276a690a2e
_git: Complete fetchy refspecs correctly.
2016-05-01 01:52:29 +00:00
Daniel Shahaf
fe21e49a6d
_git: Bifurcate __git_ref_specs.
...
No functional change, except for completion of 'git bundle' and 'git config
branch.*.merge'; this is a required groundwork for future patches.
2016-05-01 01:52:29 +00:00
Daniel Shahaf
c57d8dfcaa
_git: Fix an apparent typo in __git_heads().
...
I couldn't reproduce different behaviour with and without this patch, although
the called command's output differs.
2016-05-01 01:52:28 +00:00
Daniel Shahaf
3e26848ef4
_git: Offer alternatives properly.
2016-05-01 01:52:28 +00:00
Daniel Shahaf
2979122d2d
_git-bundle: Complete required file argument to 'git bundle' correctly.
2016-05-01 01:52:28 +00:00
Daniel Shahaf
442d702bbc
38316: _git-rebase: Complete any committish for the second argument
2016-04-23 21:28:21 +00:00
Christian Neukirchen
fbe2763411
37847: update du arguments up to GNU du 8.25
2016-04-14 15:52:08 +02:00
Daniel Shahaf
4df62e32fc
38255: _git: Fix argument pastedness.
...
Found by searching for /-\w\>.*:/.
This covers short options only, from the top of file through _git-tag().
2016-04-09 03:35:14 +00:00
Daniel Shahaf
9f70404714
38182: _git: Invoke reflog completion from the 'complete commit objects' codepath.
...
The reflog will only be used if the user has typed as "@" by hand.
2016-03-21 16:12:15 +00:00
Daniel Shahaf
ce4c9eafc4
38181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.
...
The «HEAD@{...}» syntax is no longer completed, since it's not easily possible
to support both syntaxes (workers/34768).
2016-03-21 16:12:13 +00:00
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