tl;dr
If you change the line of pyenv (rbenv) in ~ / .config / fish / config.fish
to the following, the problem will disappear.
before
. (pyenv init - | psub)
. (rbenv init - | psub)
after
source (pyenv init - | psub)
source (rbenv init - | psub)
I was able to use the .
command up to fish3.0.2, but apparently it is no longer available from fish3.1.0.
This is originally foretold ,
. (a single period) is an alias for the source command. The use of . is deprecated in favour of source, and . will be removed in a future version of fish.
It's finally gone (crying)
If you are using bash commands or somehow using the .
command, you need to take this opportunity to review the configuration file.
It is common to use the .
command in the initialization syntax of pyenv (rbenv), but when running with fish3.1.0, the following error message occurs.
source: Error encountered while sourcing file '/var/folders/yv/0npp741974sgp79671hf_48c0000gn/T//.psub.pxGqFIeIaF':
source: No such file or directory
source: Error encountered while sourcing file '/var/folders/yv/0npp741974sgp79671hf_48c0000gn/T//.psub.VyHOD74WrY':
source: No such file or directory
If you get such an error, as mentioned at the beginning, you can use the source
command and it will work fine.
I also suffered from this problem this morning, so if you have any other problems, please refer to it ~ ~
Recommended Posts