1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

40965: fix for missing local declarations of expl

This commit is contained in:
Oliver Kiddle 2017-04-26 16:32:10 +02:00
parent 408b92b168
commit 78afb218b0
32 changed files with 109 additions and 58 deletions

View file

@ -1,7 +1,7 @@
#compdef svcadm
_svcadm() {
local context state line subcmds
local curcontext="$curcontext" state line expl subcmds
typeset -A opt_args
subcmds=( enable disable restart refresh mark delegate clear milestone )

View file

@ -14,7 +14,7 @@ _svccfg_properties() {
# Get all the property names for the FMRI
props=( ${${${(f)"$(svccfg -s $fmri describe)"}:# *}%% *} )
_multi_parts "$expl[@]" - / props
_multi_parts "$@" - / props
}
_svccfg() {

View file

@ -2,7 +2,7 @@
_svcs_fmri() {
local type="$argv[$#]"
local fmri_abbrevs m i
local fmri_abbrevs m i expl
typeset -a -g _smf_fmris
local update_policy