Files
fish-config/conf.d/pyenv.fish
T
2026-04-20 09:40:17 +02:00

17 lines
406 B
Fish

while set pyenv_index (contains -i -- "/home/df/.pyenv/shims" $PATH)
set -eg PATH[$pyenv_index]; end; set -e pyenv_index
set -gx PATH '/home/df/.pyenv/shims' $PATH
set -gx PYENV_SHELL fish
command pyenv rehash
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