4 ms·
Umm, you don't need to define your PATH variable in `config.fish`, not unless you make it your default login and user shell. You should keep using bash as your
by ayushnix 5y ago
Umm, you don't need to define your PATH variable in `config.fish`, not unless you make it your default login and user shell.
You should keep using bash as your default login and user shell, define your environment variables, like PATH, in your `.bashrc`/`.bash_profile` but use fish as the default shell of your terminal emulator. In that case, fish should pick up the PATH from bash.
- xkgt 5y agoThat addresses only the part of setting up PATH variable. Some init scripts go beyond that and have additional code embedded in them (see sdkman, pyenv). These needs separate init scripts for fish users. Just a cursory look at github issues can show how prevalent this issue is: https://github.com/search?q=fish+support&type=issues https://github.com/search?q=fish+support&type=issues
- ayushnix 5y agoPython venv works fine with fish shell for me. But yeah, this is something that'll always be an issue with fish simply because bash is more widely used. Unlike what some people may think, it's not just about the tool itself but its ecosystem as well.