flathub / com.visualstudio.code.tool.fish

https://flathub.org/apps/details/com.visualstudio.code.tool.fish
5 stars 4 forks source link

How does it work? #1

Closed jeffteixeira closed 3 years ago

jeffteixeira commented 3 years ago

I tried to configure the fish by creating the ~/.config/fish/config.fish file, but apparently that file was not loaded. Which path should the shell configuration be on?

gasinvein commented 3 years ago

fish respects $XDG_CONFIG_HOME, which should be set to ~/.var/app/com.visualstudio.code/config in the VSCode flatpak sandbox.

jeffteixeira commented 3 years ago

Thank you very much. Now I managed to make it work. To make the fish the default shell, just override the SHELL variable?

gasinvein commented 3 years ago

I think changing settings for built-in terminal in VSCode would be more appropriate. You can select which shell to spawn there. This extension install fish at /app/tools/fish/bin/fish (but it should be on PATH anyway).

jeffteixeira commented 3 years ago

Ok, thanks for the clarifications! :)