diff options
Diffstat (limited to 'Completion/Solaris')
-rw-r--r-- | Completion/Solaris/Command/_svcadm | 2 | ||||
-rw-r--r-- | Completion/Solaris/Command/_svccfg | 2 | ||||
-rw-r--r-- | Completion/Solaris/Type/_svcs_fmri | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Solaris/Command/_svcadm b/Completion/Solaris/Command/_svcadm index 347e25e2a..c9826f2eb 100644 --- a/Completion/Solaris/Command/_svcadm +++ b/Completion/Solaris/Command/_svcadm @@ -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 ) diff --git a/Completion/Solaris/Command/_svccfg b/Completion/Solaris/Command/_svccfg index 08c5e4bcd..d31682e77 100644 --- a/Completion/Solaris/Command/_svccfg +++ b/Completion/Solaris/Command/_svccfg @@ -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() { diff --git a/Completion/Solaris/Type/_svcs_fmri b/Completion/Solaris/Type/_svcs_fmri index 80d3516c0..ffade6985 100644 --- a/Completion/Solaris/Type/_svcs_fmri +++ b/Completion/Solaris/Type/_svcs_fmri @@ -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 |