about summary refs log tree commit diff
path: root/Completion/Darwin/Command/_osascript
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Darwin/Command/_osascript')
-rw-r--r--Completion/Darwin/Command/_osascript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_osascript b/Completion/Darwin/Command/_osascript
index 5e4a5f70c..5e6cebab5 100644
--- a/Completion/Darwin/Command/_osascript
+++ b/Completion/Darwin/Command/_osascript
@@ -18,7 +18,7 @@ case $state in
     # but adding the output of osalang makes this future-proof
     _values 'script language' \
       AppleScript JavaScript 'Generic Scripting System' \
-      ${(f)"$( command osalang 2> /dev/null )"} \
+      ${(f)"$( _call_program languages command osalang )"} \
     && ret=0
     ;;
   modifiers)