From d373eb8f1e27cbdcde2130c9b473bb8ca45529e6 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 24 Apr 2005 17:49:26 +0000 Subject: Tobias Gruetzmacher 21168: locality and visibility of some completion vars --- Completion/Unix/Command/_subversion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_subversion') diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion index 51f874316..a3613f4a6 100644 --- a/Completion/Unix/Command/_subversion +++ b/Completion/Unix/Command/_subversion @@ -63,7 +63,7 @@ _svn_command () { local cmd if (( ! $+_svn_cmds )); then - typeset -gA _svn_cmds + typeset -gHA _svn_cmds _svn_cmds=( ${=${(f)${${"$(LC_MESSAGES=C _call_program commands svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:} ) @@ -87,7 +87,7 @@ _svn_command () { (( $+functions[_svn_subcommand] )) || _svn_subcommand () { local subcmd _svn_subcmds _svn_subcmd_usage - typeset -A _cache_svn_status + typeset -gHA _cache_svn_status _svn_subcmd_usage=${${(M)${(f)"$(LC_MESSAGES=C _call_program options svn help $1)"}:#usage:*}#usage: $1 } @@ -146,7 +146,7 @@ _svnadmin_command () { local cmd if (( ! $+_svnadmin_cmds )); then - typeset -gA _svnadmin_cmds + typeset -gHA _svnadmin_cmds _svnadmin_cmds=( ${=${(f)${${"$(LC_MESSAGES=C _call_program commands svnadmin help)"#l#*Available subcommands:}}}/(#s)[[:space:]]#(#b)([a-z]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:} ) -- cgit 1.4.1