From 580970644cd1fec99f832dff3c379c4f087f7973 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Fri, 14 Feb 2014 16:11:11 -0200 Subject: [PATCH] Fixes #119: rbenv has not released a final version with support to fish yet, so for now, we are cloning the expected end-result --- plugins/rbenv/rbenv.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugins/rbenv/rbenv.fish diff --git a/plugins/rbenv/rbenv.fish b/plugins/rbenv/rbenv.fish new file mode 100644 index 0000000..f8f8a90 --- /dev/null +++ b/plugins/rbenv/rbenv.fish @@ -0,0 +1,12 @@ +function rbenv + set command $argv[1] + set -e argv[1] + + switch "$command" + case rehash shell + eval (rbenv "sh-$command" $argv) + case '*' + command rbenv "$command" $argv + end +end +