about summary refs log tree commit diff
path: root/Completion/User/_ispell
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_ispell')
-rw-r--r--Completion/User/_ispell2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_ispell b/Completion/User/_ispell
index 7d81952dc..3eacee87f 100644
--- a/Completion/User/_ispell
+++ b/Completion/User/_ispell
@@ -1,6 +1,6 @@
 #compdef ispell buildhash munchlist findaffix tryaffix icombine ijoin
 
-case "${words[1]:t}" in
+case "$service" in
 ispell)
   _arguments -s \
     '(-n -h)-t[input file is in TeX/LaTeX format]' \