From fcbb417504f06a61177f27259a165ef8598ca536 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 22 Mar 2007 10:45:19 +0000 Subject: 23226: handle "nice -n<->" --- Completion/Unix/Command/_nice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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 -- cgit 1.4.1