13 lines
234 B
Fish
13 lines
234 B
Fish
function pyenv
|
|
set command $argv[1]
|
|
set -e argv[1]
|
|
|
|
switch "$command"
|
|
case rehash shell
|
|
source (pyenv "sh-$command" $argv | psub)
|
|
|
|
case \*
|
|
command pyenv "$command" $argv
|
|
end
|
|
end
|