Change shells readily (ZSH, FISH, TCSH, etc.)
The Terminal (CMD) configuration should facilitate a straightforward way of customizing the actual shell that is spawned in a CMD profile upon execution. It would be best to follow the practices of OS X Terminal or iTerm for this.
Example:
You could define a desired shell like this: http://cl.ly/2I191d3n1r2G
But you would do it in a Profile section like this: http://cl.ly/3G251d1d260A
That would also have a nice drag-n-drop shortcut creator or save button that would create a new custom shortcut with appropriate arguments for spawning the desired shell in the CMD Terminal.
This would allow for easy customization and shortcut creation that would spawn CMD proper, BASH, ZSH, PowerShell, or what have you.
This issue has been reported and is being tracked in GitHub:
5 comments
-
Tobias Salzmann
commented
By adding a set of commands to your .bashrc it is relative easy and flexible:
https://blog.salzmann.to/windows10/linux/2016/08/03/changing-the-shell-windows-subsystem-for-linux.html -
Joseph Bradley
commented
I use all three terminals, and this seems like it would be a bigger pain than simply mapping your favorite shortcut key (or even the Command Prompt shortcut in the Start Menu) to the shell of your choice. It's relatively easy to specify an alternative shell in the startup script of cmd or sh, as well.
-
Anonymous
commented
Why not just use /etc/passwd entry to define a user's login shell. T
hat is what GNY.Linux does -
ylluminate
commented
Re: prefer zsh over bash: big YUP... :)
-
o9000
commented
I would definitely prefer zsh over bash.