From 99a1daad2f748d3e124cecb69771a43cead81afe Mon Sep 17 00:00:00 2001 From: Aaron Schrab Date: Sun, 26 Aug 2012 09:40:27 -0400 Subject: [PATCH] Revert _rvm changing from local to typeset This was changed in 4f68928, but the old way is the conventional way. --- src/_rvm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/_rvm b/src/_rvm index b7690ee..e9604e1 100644 --- a/src/_rvm +++ b/src/_rvm @@ -15,10 +15,7 @@ # # ------------------------------------------------------------------------------ -typeset curcontext state line cmds ret - -curcontext="$curcontext" -ret=1 +local curcontext="$curcontext" state line cmds ret=1 _arguments -C \ '(- 1 *)'{-v,--version}'[display version information]' \