Various fixes, remove _zargs already upstream

Many movings of local inside the actual functions.
Add many missing local and remove -g(!).
Fix namespacing of some parameters and functions, phases() in _scala was nice.
This commit is contained in:
Mikael Magnusson
2012-06-10 02:41:57 +02:00
parent 3497b4841c
commit c3b4d582a0
31 changed files with 406 additions and 440 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ _box_arguments=(
__task_list ()
{
local expl
declare -a tasks
local -a tasks
tasks=(box destroy halt init package provision reload resume ssh ssh_config status suspend up version)
@@ -70,7 +70,7 @@ __vm_list ()
__vagrant-box ()
{
local curcontext="$curcontext" state line
typeset -A opt_args
local -A opt_args
_arguments -C \
':command:->command' \
@@ -99,7 +99,7 @@ local expl
local -a boxes installed_boxes
local curcontext="$curcontext" state line
typeset -A opt_args
local -A opt_args
_arguments -C \
':command:->command' \