about summary refs log tree commit diff
path: root/Completion/Unix/Command/_gs
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_gs')
-rw-r--r--Completion/Unix/Command/_gs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gs b/Completion/Unix/Command/_gs
index 22f3c789b..98ba14912 100644
--- a/Completion/Unix/Command/_gs
+++ b/Completion/Unix/Command/_gs
@@ -32,7 +32,7 @@ else
     fi
     ;;
   sname)
-    if compset -P '*='; then
+    if compset -P 1 '*='; then
       case "$IPREFIX" in
       *DEVICE\=)
         _wanted devices expl 'ghostscript device' \