oh-my-fish / plugin-cd

A featured cd can make your fish journey much more pleasant.
https://github.com/sancoder-q/plugin-cd
MIT License
19 stars 5 forks source link

Possibly not compatible with Fish 3.2 #16

Closed halostatue closed 3 years ago

halostatue commented 3 years ago

I recently upgrade to Fish 3.2 and have been getting this issue on shell startup:

functions: Function 'cd' already exists. Cannot create copy '__plugin_cd'

~/.config/fish/conf.d/plugin-cd_init.fish (line 8):
functions -c __plugin_cd cd
^
from sourcing file ~/.config/fish/conf.d/plugin-cd_init.fish
    called on line 253 of file /usr/local/Cellar/fish/3.2.0/share/fish/config.fish
from sourcing file /usr/local/Cellar/fish/3.2.0/share/fish/config.fish

I’m not sure exactly what the source of the problem is and don’t have time to investigate specifically; unfortunately I found that I keep forgetting to use the extended features of this plugin, so I’m just going to uninstall it.

halostatue commented 3 years ago

I see the problem. The name of the conf.d file changed and Fisher didn’t clean it up properly.