From 3060578e3b346fee7429aa4f0f2542693cb765f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohnic=CC=81?= Date: Thu, 13 Dec 2012 06:01:26 +0100 Subject: [PATCH] use `typeset` instead of `local` in rbenv() function This is to insure portability to ksh. Fixes #205, references #209 --- libexec/rbenv-init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index 95b6c403..16916cd5 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -86,7 +86,8 @@ commands=(`rbenv-commands --sh`) IFS="|" cat <