summary refs log tree commit diff
path: root/Completion/Unix
Commit message (Collapse)AuthorAgeFilesLines
* 38760: _git-config: Stop trying to execute the empty string command name ↵Daniel Shahaf2016-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* unposted: _git-config: Document some line noise.Daniel Shahaf2016-06-251-0/+3
|
* unposted: _git-config: Fix syntax error in 'tag.sort' completion.Daniel Shahaf2016-06-251-1/+1
|
* 38735: support verbose style to allow clearer but less compact descriptions ↵Oliver Kiddle2016-06-221-6/+14
| | | | for time specifiers
* 38713: don't add calendar matches when not immediately entering menu selectionOliver Kiddle2016-06-181-1/+2
|
* 38707: strip suffix for glob qualifier completionOliver Kiddle2016-06-182-0/+2
|
* 38703: support su options on macOSOliver Kiddle2016-06-181-1/+1
|
* 38676, 38680: Completion for pidof and localedef.Eric Cook2016-06-141-0/+92
|
* unposted: remove unused parameterDoug Kearns2016-06-141-3/+0
|
* 38651: _git: Escape parameter arguments to _call_program.Daniel Shahaf2016-06-131-7/+7
| | | | Fixes 'git cat-file blob HEAD^:<TAB>' and a few other cases.
* 38665: _git: config option completion: Quote properly.Daniel Shahaf2016-06-131-2/+2
|
* 38639: fix username completion after -, update options and get user shell ↵Oliver Kiddle2016-06-091-60/+67
| | | | with getent
* 38624: _git: Optimize the last commit's __git_recent_branches__names as ↵Daniel Shahaf2016-06-071-24/+9
| | | | suggested by Matthew.
* 38592 (plus tweak): _git: New recent branches completion, unused. (Joint ↵Daniel Shahaf2016-06-071-0/+60
| | | | with Nils Luxton)
* users/21609: do not treat tilde-expansions as quoted when inside command ↵Barton E. Schaefer2016-06-031-1/+1
| | | | substitutions
* 38577: _signals: Don't complete SIGEXIT from _kill.Daniel Shahaf2016-06-031-5/+8
|
* 38576: _git: Also detect _git-${thirdparty} functions in $fpath that are ↵Daniel Shahaf2016-06-031-1/+1
| | | | symlinks.
* 38567, 38440: Marko Myllynen: completion for locale(1) and iconvconfig(8)Marko Myllynen2016-06-021-0/+84
|
* 38420: _baudrates: Make style lookups fit better with the rest of compsysFrank Terbeck2016-05-091-6/+6
| | | | | | | | To quote Oliver Kiddle: > The original concept with styles was that style's could have fairly > generic names because the context allows you to select the detailed > context. So perhaps consider allowing this to work as, for example: > zstyle ':completion:*:*:screen:*:baud-rates' max-value 9600
* 38421: _baudrates: Fit better into the general completion frameworkFrank Terbeck2016-05-091-11/+5
| | | | | | This should work better in concert with other helpers and builtins of the completion system by accepting arguments that would be handed to compadd.
* 38424: Use _baudrates helper instead of _baudrateFrank Terbeck2016-05-094-4/+4
|
* 38426: _baudrates: Use 2 space indentationFrank Terbeck2016-05-091-14/+14
| | | | As per the completion-style-guide.
* 38422: _baudrate -> _baudratesFrank Terbeck2016-05-091-1/+1
| | | | | Oliver notes that helper functions usually have plural names by convention.
* 38393: _git: Fix typo in completion of '--minimal'Russell Currey2016-05-031-1/+1
| | | | Signed-off-by: Russell Currey <ruscur@russell.cc>
* 38388: Refactor baud rate completionFrank Terbeck2016-05-025-31/+88
| | | | | This adds a new helper function _baudrate and uses it in place of private solutions in various existing completions.
* 38381: Add completion for picocom utilityFrank Terbeck2016-05-011-0/+80
|
* _git: Complete fetchy refspecs correctly.Daniel Shahaf2016-05-011-2/+13
|
* _git: Bifurcate __git_ref_specs.Daniel Shahaf2016-05-011-10/+24
| | | | | No functional change, except for completion of 'git bundle' and 'git config branch.*.merge'; this is a required groundwork for future patches.
* _git: Fix an apparent typo in __git_heads().Daniel Shahaf2016-05-011-2/+2
| | | | | I couldn't reproduce different behaviour with and without this patch, although the called command's output differs.
* _git: Offer alternatives properly.Daniel Shahaf2016-05-011-2/+1
|
* _git-bundle: Complete required file argument to 'git bundle' correctly.Daniel Shahaf2016-05-011-0/+1
|
* 38316: _git-rebase: Complete any committish for the second argumentDaniel Shahaf2016-04-231-1/+1
|
* 37847: update du arguments up to GNU du 8.25Christian Neukirchen2016-04-141-2/+3
|
* 38255: _git: Fix argument pastedness.Daniel Shahaf2016-04-091-43/+43
| | | | | | Found by searching for /-\w\>.*:/. This covers short options only, from the top of file through _git-tag().
* 38182: _git: Invoke reflog completion from the 'complete commit objects' ↵Daniel Shahaf2016-03-211-3/+10
| | | | | | codepath. The reflog will only be used if the user has typed as "@" by hand.
* 38181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.Daniel Shahaf2016-03-211-0/+1
| | | | | The «HEAD@{...}» syntax is no longer completed, since it's not easily possible to support both syntaxes (workers/34768).
* 38180: _git: Improve reflog completion.Daniel Shahaf2016-03-211-2/+2
| | | | Currently, only used by «git reflog delete <TAB>».
* 38187: _adb: Just check current dir instead of recursivelyMikael Magnusson2016-03-191-26/+12
| | | | Thanks to LambdaComplex in IRC for help with troubleshooting.
* 38186: _adb: fix remote file completion + various fixesMikael Magnusson2016-03-191-45/+30
|
* 38179: _adb: Fix completion by mostly reverting 35531Mikael Magnusson2016-03-181-28/+40
|
* 38161: _tmux: Use a colon to terminate options to _arguments itselfFrank Terbeck2016-03-161-79/+79
| | | | | | | | | | | | | | | | | | | 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.
* 38151: _git: fix tag name of remote branchesm0viefreak2016-03-151-1/+1
|
* 38148: _git: reflog: complete references next to commandsm0viefreak2016-03-151-1/+3
| | | | | | | | 'git reflog show' is the default subcommand, so git reflog <tab> should complete subcommands and references.
* 38129: _git: Fix __git_ignore_line's treatment of shell and pattern ↵Daniel Shahaf2016-03-111-3/+3
| | | | | | | | metacaracters. Builds upon a patch by Jun T. Also upgrade/fix __git_pattern_escape.
* 38128: _git: Fix completion of diffs against the index when treeish isn't ↵Daniel Shahaf2016-03-101-1/+2
| | | | | | shell-safe This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
* 38123 (after 38074): _git reset $treeish: complete only staged filesDaniel Shahaf2016-03-101-36/+20
|
* 38120: _git: Document the internal helper function __git_ignore_line.Daniel Shahaf2016-03-091-0/+10
|
* 38074: _git reset HEAD: complete only staged filesJun-ichi Takimoto2016-03-081-1/+28
|
* 37975: Completion/Unix/Command/_php: remove _arguments' -A optionEric Cook2016-02-151-1/+1
|
* 37898: complete gcc linker optionsBarton E. Schaefer2016-02-141-0/+14
|