about summary refs log tree commit diff
path: root/Completion/Unix/Command/_nice
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_nice')
-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