about summary refs log tree commit diff
path: root/Completion/User/_man
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_man')
-rw-r--r--Completion/User/_man2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_man b/Completion/User/_man
index 8f255c411..26f41b606 100644
--- a/Completion/User/_man
+++ b/Completion/User/_man
@@ -2,7 +2,7 @@
 
 local rep expl star approx mrd
 
-if [[ $words[1] == man ]] && (( $words[(I)-l] + $words[(I)--local-file] )); then
+if [[ $service == man ]] && (( $words[(I)-l] + $words[(I)--local-file] )); then
   _files || return 0
 fi