Files
dotfiles/config/fish/functions/pyenv.fish
2018-12-07 13:38:49 -05:00

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