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:
parent
408b92b168
commit
78afb218b0
32 changed files with 109 additions and 58 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue