diff options
author | m0viefreak <m0viefreak.cm@googlemail.com> | 2014-03-23 13:02:12 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-03-23 13:02:12 -0700 |
commit | cd2eb07a788ceab8d0a5c3042a7711c5c6f5e60e (patch) | |
tree | b1f2cde1d3cca96f07c4a9b4de5322ca1b875f79 /Completion | |
parent | ab917d4a0e1135988c55943bdc3240b873146c64 (diff) | |
download | zsh-cd2eb07a788ceab8d0a5c3042a7711c5c6f5e60e.tar.gz zsh-cd2eb07a788ceab8d0a5c3042a7711c5c6f5e60e.tar.xz zsh-cd2eb07a788ceab8d0a5c3042a7711c5c6f5e60e.zip |
m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable suffix highlighting Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_commit_ranges and _git_stash
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 4982f3061..7cd3324a8 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1536,7 +1536,7 @@ _git-stash () { '(--keep-index )--no-keep-index[all changes already added to the index are undone]' \ '(-q --quiet)'{-q,--quiet}'[suppress all output]' \ '(-u --include-untracked)'{-u,--include-untracked}'[include untracked files]' \ - '::message' && ret=0 + ':: :_guard "([^-]?#|)" message' && ret=0 ;; (list) local -a log_options revision_options @@ -5602,7 +5602,7 @@ __git_commit_ranges () { if compset -P '*..(.|)'; then __git_commits $* else - compset -S '..*' || suf=( -qS .. -r '.@~ ^:' ) + compset -S '..*' || suf=( -S .. -r '.@~ ^:\t\n\-' ) __git_commits $* $suf fi } |