title | author | categories | |||
---|---|---|---|---|---|
How to change your command shell |
Team Koding |
|
Koding VMs, by default, come with bash as the default command shell. There are several alternatives to bash out there (zsh, fish, csh, tcsh, etc.) and so you may wish to change your command shell to something other than bash. To change your default command shell, follow these easy steps:
Since the user account on your Koding VM's does not have a default password, you need to set one first. Do the following:
sudo passwd <your koding username>
Input a password at the prompt and make sure you pick something secure. Going forward, this will be the password for the user account on your Koding VM.
type:tip Note: This does not change your Koding.com password. That remain the same.
Now type in:
chsh -s <path to the shell you wish to use as your default shell e.g. /bin/fish/>
That's it. Next time you open a new Terminal, it should be running the new command shell.