about summary refs log tree commit diff
path: root/Completion/User/_compress
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_compress')
-rw-r--r--Completion/User/_compress2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_compress b/Completion/User/_compress
index 3521dfef6..9ba8c8e15 100644
--- a/Completion/User/_compress
+++ b/Completion/User/_compress
@@ -17,7 +17,7 @@ common_args2=( \
   '(-q)-v[display compression statistics]' \
   "${common_args1[@]}" )
 
-case "${words[1]:t}" in
+case "$service" in
   compress)
     _arguments -C -s \
       "-b[specify maximum number of bits used to replace common substring]:bits:(${bits[*]})" \