From 13a474c4e9c3305179b364723349fc49b3e935e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 3 Jun 2014 00:36:49 +0700 Subject: [PATCH] Get rid of explicit exit in fish branch of `rbenv-init` Allows for code to be added to the end of the script which will not mysteriously fail to run for fish shell. --- libexec/rbenv-init | 3 ++- test/init.bats | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index a28b7fc..5f9079a 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -140,7 +140,6 @@ function rbenv end end EOS - exit 0 ;; ksh ) cat <