I'm specifically trying to get NVM to work on Elementary OS with Fish and IntelliJ.
There is a fish script that works pretty well as long as I stay in the terminal. However, when I launch my IDE from my desktop environment it does not inherit the path modifications made by that fish script. From my guess this is because it's still reading in
~/.profile when launching applications, but does not get any access to the variables set inside the fish config.
What's the proper way to resolve this? Maybe there's a way to load the fish env when launching an application? Or should I simply not use
fish_add_path etc, avoid fish's nvm and use the bash variant inside
~/.profile? Or is there another solution?