about summary refs log tree commit diff
path: root/Completion/User/_dvi
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_dvi')
-rw-r--r--Completion/User/_dvi2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_dvi b/Completion/User/_dvi
index 9d551ea07..672b4419d 100644
--- a/Completion/User/_dvi
+++ b/Completion/User/_dvi
@@ -9,7 +9,7 @@ args=(
   ':output DVI file:_files -g \*.\(dvi\|DVI\)'
 )
 
-case "${words[1]:t}" in
+case "$service" in
 dvips)
   _arguments -s \
     '-a[make three passes]' \