diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-03-22 10:45:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-03-22 10:45:19 +0000 |
commit | fcbb417504f06a61177f27259a165ef8598ca536 (patch) | |
tree | 0a432e208e08b95f31c147e488bb44dabebcd8b8 /Completion/Unix/Command | |
parent | 3d6f87fccc2cbc394befc666fe4783c39329b19a (diff) | |
download | zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.gz zsh-fcbb417504f06a61177f27259a165ef8598ca536.tar.xz zsh-fcbb417504f06a61177f27259a165ef8598ca536.zip |
23226: handle "nice -n<->"
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_nice | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_nice b/Completion/Unix/Command/_nice index f2f688368..29070697f 100644 --- a/Completion/Unix/Command/_nice +++ b/Completion/Unix/Command/_nice @@ -3,7 +3,7 @@ shift words (( CURRENT-- )) -if [[ $CURRENT -gt 1 && $words[1] = [-+](-|)<-> ]]; then +if [[ $CURRENT -gt 1 && $words[1] = ([-+](-|)|-n)<-> ]]; then shift words (( CURRENT -- )) elif [[ $CURRENT -gt 2 && $words[1] = -n ]]; then |