summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-03-22 10:45:19 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-03-22 10:45:19 +0000
commitfcbb417504f06a61177f27259a165ef8598ca536 (patch)
tree0a432e208e08b95f31c147e488bb44dabebcd8b8 /Completion/Unix/Command
parent3d6f87fccc2cbc394befc666fe4783c39329b19a (diff)
downloadzsh-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/_nice2
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