about summary refs log tree commit diff
path: root/Completion/Darwin/Command/_nvram
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Darwin/Command/_nvram')
-rw-r--r--Completion/Darwin/Command/_nvram2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_nvram b/Completion/Darwin/Command/_nvram
index 8158eb9d2..8853b0bee 100644
--- a/Completion/Darwin/Command/_nvram
+++ b/Completion/Darwin/Command/_nvram
@@ -15,7 +15,7 @@ _arguments -s : \
 && ret=0
 
 [[ $state == variables-* ]] && {
-  tmp=( ${${(f)"$( command $service -p )"}%%[[:space:]]*} )
+  tmp=( ${${(f)"$( _call_program variables $words[1] -p )"}%%[[:space:]]*} )
 
   [[ $state == variables-rw ]] &&
   tmp=( ${^tmp}'::NVRAM variable value' )