mirror of https://github.com/jenv/jenv.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
408 B
18 lines
408 B
set PATH $HOME/.jenv/shims $PATH |
|
command jenv rehash 2>/dev/null |
|
function jenv |
|
set cmd $argv[1] |
|
set arg "" |
|
if test (count $argv) -gt 1 |
|
# Great... fish first array index is ... 1 ! |
|
set arg $argv[2..-1] |
|
end |
|
|
|
switch "$cmd" |
|
case enable-plugin rehash shell shell-options |
|
set script (jenv "sh-$cmd" "$arg") |
|
eval $script |
|
case '*' |
|
command jenv $cmd $arg |
|
end |
|
end
|
|
|