10
3
I've installed Linux subsystem for Windows 10. It works fine, but I want to change the default shell environment for the subsystem.
I did sudo apt-get install fish
and then chsh -s /usr/bin/fish
. But when I start bash.exe
in Windows, it always starts the bash (I think it is predictable).
Does anyone know arguments to change this behavior?
When you start
bash.exe
you are obviously explicitly starting bash. I'm not familiar with the Linux subsystem in Windows 10, but I would expect there to be some way to start a "Linux" shell without explicitly starting one specific shell. – a CVn – 2016-08-07T19:25:43.163Did you tried an ugly edition of your bashrc or bashprofile to re-route interactive bash calls to fish? Adding a line like
isatty && exec fish
may worth the try when you are totally out of actual solutions. – A. Loiseau – 2016-08-07T22:52:32.090