When I started my fish shell today I got following error:
fish: Unknown command: pyenv
~/.config/fish/conf.d/pyenv.fish (line 3):
pyenv init --path | source
^
from sourcing file ~/.config/fish/conf.d/pyenv.fish
called on line 253 of file /usr/local/Cellar/fish/3.3.1/share/fish/config.fish
from sourcing file /usr/local/Cellar/fish/3.3.1/share/fish/config.fish
called during startup
fish: Unknown command: pyenv
~/.config/fish/conf.d/pyenv.fish (line 4):
pyenv init - | source
^
from sourcing file ~/.config/fish/conf.d/pyenv.fish
called on line 253 of file /usr/local/Cellar/fish/3.3.1/share/fish/config.fish
from sourcing file /usr/local/Cellar/fish/3.3.1/share/fish/config.fish
called during startup
I never had it before so I think it's due to a pyenv update?
My pyenv.fish file is as follows:
set -x PATH ~/.pyenv/bin $PATH
pyenv init --path | source
pyenv init - | source
Anyone has an idea how to solve this? I did not find any solution via google.