zsh-workers
 help / color / mirror / code / Atom feed
29070697f1f2a833146e9be29e3de7c26c7008bc blob 246 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#compdef nice

shift words
(( CURRENT-- ))

if [[ $CURRENT -gt 1 && $words[1] = ([-+](-|)|-n)<-> ]]; then
    shift words
    (( CURRENT -- ))
elif [[ $CURRENT -gt 2 && $words[1] = -n ]]; then
    shift 2 words
    (( CURRENT -= 2 ))
fi

_normal
debug log:

solving 29070697f ...
found 29070697f in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).