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 2d2671e25..13b203584 100644
--- a/Completion/User/_ispell
+++ b/Completion/User/_ispell
@@ -1,6 +1,6 @@
 #compdef ispell buildhash munchlist findaffix tryaffix icombine ijoin
 
-case "$words[1]" in
+case "${words[1]:t}" in
 ispell)
   _arguments -s \
     '(-n)-t[input file is in TeX/LaTeX format]' \