about summary refs log tree commit diff
path: root/Completion/Unix
Commit message (Collapse)AuthorAgeFilesLines
* Completion/Unix/Command/_git: remove -2 with __git_recent_commitsDaniel Hahler2015-05-191-1/+1
| | | | | | | | | | | | | 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
* 35204: fix broken __git_recent_commits from previous commitDaniel Hahler2015-05-191-1/+1
| | | | This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
* 35164: fix __git_commit_objects/__git_recent_commitsDaniel Hahler2015-05-191-2/+2
| | | | | | | $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.
* users/20222: completion: git: Add matchspec for headsDaniel Shahaf2015-05-191-4/+4
| | | | | | | 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 '**'.
* 35187: unbalanced parentheses in _vimPeter Stephenson2015-05-181-1/+1
|
* 35168: Improve parsing of case patterns.Peter Stephenson2015-05-186-9/+8
| | | | | | | | | | | | | | "|" 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.
* 35105: completion: git: add distance_from_head to __git_recent_commitsDaniel Shahaf2015-05-181-1/+14
| | | | | | | | 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)
* 35106: completion: git: unique name for __git_recent_commitsDaniel Hahler2015-05-181-1/+1
| | | | This helps to distinguish it from __git_commit_objects.
* 35103: completion: git: add %cr to commit objects (all and recent)Daniel Hahler2015-05-181-2/+2
|
* 35104: completion: git: __git_commit_objects: query 1000 commitsDaniel Hahler2015-05-181-2/+5
| | | | | | | | 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.
* 35101: completion: git: add __git_commit_objects_prefer_recentDaniel Hahler2015-05-181-1/+6
| | | | | This is used with __git_commits then, and is meant to only call __git_recent_commits, if there are matches.
* 35100: __git_recent_commits: massage ' ->*' from headsDaniel Hahler2015-05-181-0/+2
| | | | | Handle " -> master, origin/master" in decorated git-log output, and add it as separate entries.
* completion: git: add missing return to __git_recent_commitsDaniel Hahler2015-05-171-0/+1
|
* 35161: completion: git: Fix typo in 35061Daniel Shahaf2015-05-161-1/+1
|
* users/20219: fix completion for git optionsOliver Kiddle2015-05-151-2/+2
|
* 35062: __git_setup_revision_options includes __git_setup_diff_optionsDaniel Hahler2015-05-141-4/+1
|
* 35061: add __git_setup_diff_stage_options and use it with _git-diff-files ↵Daniel Hahler2015-05-141-6/+16
| | | | and _git-diff explicitly
* 35016: introduce new pretty formats %g[sdD] for reflog informationDaniel Hahler2015-05-141-1/+1
|
* 35107: new ip options to completeChristian Hesse2015-05-131-0/+2
|
* 35060 + 35072: completion: git: split __git_heads into local and remoteDaniel Hahler2015-05-121-2/+18
| | | | | | | It is useful to have this distinction visually. This also uses `--format=%(refname:short)` directly with `git for-each-ref`.
* 35049: allow jail completion to include jid 0 for the host and toOliver Kiddle2015-05-112-12/+2
| | | | complete jails by any parameter
* 35066: Minor completion fix for pasted argumentsDaniel Shahaf2015-05-092-2/+2
|
* 35011: update completions for some common Unix commands,Oliver Kiddle2015-05-0337-537/+1390
| | | | in particular improving FreeBSD support
* 34980: in completion match new Makefile assignment formsPeter Stephenson2015-04-281-6/+6
|
* 34961: avoid _message because it aborts completer list too earlyBarton E. Schaefer2015-04-251-1/+1
|
* 34899: completion: _vim: add nvim to #compdefDaniel Hahler2015-04-171-1/+1
| | | | nvim is used by NeoVim and is fairly compatible.
* 34886: completion: git: Complete rebase --exec argumentDaniel Shahaf2015-04-131-1/+1
|
* 34885: completion: git: Sort "commit object" completions most recent firstDaniel Shahaf2015-04-131-1/+1
|
* 34885: completion: git: Fix another instance of the 34671 bug fixed in 34814Daniel Shahaf2015-04-131-1/+3
|
* 34874: completion for cabalClint Adams2015-04-101-0/+9
|
* 34748: completion: git: update list of builtintoolsDaniel Hahler2015-04-101-9/+16
|
* 34814: completion: git: Fix bug introduced by 236da69Daniel Shahaf2015-04-011-1/+3
| | | | Based on a patch by Daniel Hahler <git@thequod.de>.
* users/20058: improve device completion in ip completion.Peter Stephenson2015-03-313-39/+51
| | | | | We were too eager to regard strings already on the command line as possible devices.
* 34762: completion: git: add short option for '--dir-diff' (_git-difftool)Daniel Hahler2015-03-291-1/+1
|
* 34739: git completion: Fix regression in ce80a92Daniel Shahaf2015-03-191-1/+1
| | | | | 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>'.
* 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git ↵Daniel Shahaf2015-03-161-1/+1
| | | | --fixup' hash completions
* 34671: git completion: only offer recent commits' tags/heads for --fixupDaniel Shahaf2015-03-161-2/+34
|
* 34693: sudo completion: Don't false positive 'sudo -e' detectionDaniel Shahaf2015-03-091-1/+8
|
* 34638 with tweaks: git completion: complete commit hashes and --fixupDaniel Hahler2015-03-071-3/+9
|
* 34588: Complete 'usermod -a'Daniel Shahaf2015-02-271-0/+1
|
* 34468: completion: git: stash: handle 'save' being the defaultDaniel Hahler2015-02-081-5/+11
| | | | | "git stash" should complete arguments for "git stash save", but without the message part.
* 34467: completion: git: minor doc fixesDaniel Hahler2015-02-081-7/+3
| | | | | | 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?!
* 34470: completion: adb: add "sideload" commandDaniel Hahler2015-02-081-0/+1
| | | | | | btw: there is another compdef available for `adb` from zsh-users/zsh-completion; see https://github.com/zsh-users/zsh-completions/issues/291.
* 34469: git completion: add "stash" from refs/stash to __git_headsDaniel Hahler2015-02-081-0/+1
|
* 34464: Update mtr completion to mtr 0.82Daniel Shahaf2015-02-071-2/+8
|
* 34444: git completion: minor improvementsDaniel Shahaf2015-02-021-4/+4
| | | | | | - 'git rebase': complete arguments in the same word as the option - 'git commit': provide message for --fixup/--squash
* 34411: _hg completion: Complete bookmark names for -rDaniel Shahaf2015-02-011-8/+17
| | | | While there, simplify `hg tags` parsing.
* 34435: Update emulate completion.Peter Stephenson2015-01-302-2/+7
| | | | | | Add new feature to run command in emulation. Factor out handling of quoted command string to new function.
* 34415: cache list of all python modulesJun-ichi Takimoto2015-01-283-25/+75
|
* 34423: fix a typo in _rubyJun-ichi Takimoto2015-01-281-1/+1
|