mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Fixes #119: rbenv has not released a final version with support to fish yet, so for now, we are cloning the expected end-result
This commit is contained in:
parent
69b94f20c2
commit
580970644c
12
plugins/rbenv/rbenv.fish
Normal file
12
plugins/rbenv/rbenv.fish
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user