tokuhirom / plenv

Perl binary manager
Other
512 stars 70 forks source link

How to use with wayland? #173

Open abraxxa opened 3 years ago

abraxxa commented 3 years ago

As wayland doesn't read ~/.profile (Ubuntu here), the installation instructions don't work. The path can be set in a .conf file in ~/.config/environment.d/, but I couldn't figure out how to run plenv init - so that it's available for all apps like text editors.

syohex commented 3 years ago

https://wiki.gnome.org/Initiatives/Wayland/SessionStart

It looks there is no way for alternative way. I suppose you need to set plenv configuration in each environments, for example, .bashrc, .vimrc etc. Or set only shell configuration and launch editor or something else from shell.

abraxxa commented 3 years ago

With text editor I mean Atom and VSCode, launched by bemenu from sway in my case, no shell involved.