summary refs log tree commit diff
path: root/Completion/User/_java
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_java')
-rw-r--r--Completion/User/_java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_java b/Completion/User/_java
index d92dbca3f..f906f0ae8 100644
--- a/Completion/User/_java
+++ b/Completion/User/_java
@@ -6,7 +6,7 @@ typeset -A opt_args tmpassoc
 
 jdb_args=()
 
-case "${words[1]:t}" in
+case "$service" in
 javac)
   _arguments \
     '-g-[generate debugging information]:debug:->debug' \