danhper / fundle

A minimalist package manager for fish shell
MIT License
375 stars 22 forks source link

This plugin doesn't work with fundle (i guess), but why? #45

Closed BarbzYHOOL closed 5 years ago

BarbzYHOOL commented 5 years ago

Do you have any idea why https://github.com/BarbzYHOOL/plugin-pyenv the init.fish is not loaded?

you can verify by installing the plugin, then you QUIT the terminal and open another one, then run echo $PYENV_ROOT and see, it's not set while the init.fish sets it up (in fact nothing is read from the init.fish)

danhper commented 5 years ago

init.fish is executed but you create PYENV_ROOT as a local variable so it is only defined in the current file. Just replace set -l by set -xg and it should work.

BarbzYHOOL commented 5 years ago

I have completely removed everything in init.fish and replaced by something else and it didn't execute/load at all so I don't think this is related :'(

(i have put "abbr -a te test" for example and it didn't work)

Edit: yes i retried to be sure, doesn't change anything

danhper commented 5 years ago

I tried with the repository you gave me and it worked perfectly fine. Is there any chance you could create a Dockerfile which reproduces the issue please?

BarbzYHOOL commented 5 years ago

sorry was a mistake from me, I didn't realize I needed to put "fundle init" in ALL the conf.fish (/etc/fish and ~/config/fish)