diff options
| author | dana <dana@dana.is> | 2018-06-13 18:57:23 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2018-06-13 18:57:23 -0500 |
| commit | b6e4cc1a86be43a2d28299e2c83bc3d0904e7336 (patch) | |
| tree | fe4a14ed7b8f75e0ceb4b0348e1e0f12c1544971 /Completion/Darwin/Command/_nvram | |
| parent | unposted: Change 'Mac OS X' reference to 'macOS' (diff) | |
| download | zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar.gz zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar.bz2 zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar.lz zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar.xz zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.tar.zst zsh-b6e4cc1a86be43a2d28299e2c83bc3d0904e7336.zip | |
42992: Use _call_program to fetch argument possibilities
Diffstat (limited to 'Completion/Darwin/Command/_nvram')
| -rw-r--r-- | Completion/Darwin/Command/_nvram | 2 |
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' ) |
