Lines Matching refs:local
6 local expl i
8 local -a unit_commands=(
38 local -a machine_commands=(
40 "list-machines:List the host and all running local containers"
43 local -a unit_file_commands=(
63 local -a job_commands=(
69 local -a environment_commands=(
77 local -a manager_state_commands=(
86 local -a system_commands=(
104 local -a groups=( unit machine unit_file job environment manager_state system )
105 local -a _systemctl_cmds
121 local curcontext="$curcontext"
133 local update_policy
170 local -a all_unit_files;
171 local -a really_all_units;
185 local property=$1 value=$2; shift 2
186 local -a units; units=("${(q-)@}")
187 local -A props
232 local fun
255 local _sys_unit_state; _systemctl_unit_state
262 local _sys_unit_state; _systemctl_unit_state
270 local _sys_unit_state; _systemctl_unit_state
278 local _sys_failed_units; _systemctl_failed_units
286 local _sys_startable_units; _systemctl_startable_units
295 local _sys_active_units; _systemctl_active_units
315 local _sys_active_units; _systemctl_active_units
326 local _sys_restartable_units; _systemctl_restartable_units
335 local _sys_unit_state; _systemctl_unit_state
360 local fun=$0 ; fun=${fun##_systemctl_}
361 local suf
399 local _sysunits
400 local -a oldcache
419 local -a _states
426 local -a _types
444 local -a _modes
451 local -a _styles
458 local -a _modes
464 local -a _modes; _modes=("--user" "--system")
466 local _sys_service_mgr=${${words:*_modes}[(R)(${(j.|.)_modes})]}