Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set default shell in Cloud9 Terminal [closed]

Tags:

cloud9-ide

I've installed zsh in the Terminal and set it to be my default shell but I'm still logged in running bash. I even get this in a SSH Project to my remote server where zsh is my login shell. What setting in C9 do I have to change?

like image 216
Andrew M. Avatar asked Nov 04 '14 17:11

Andrew M.


1 Answers

I figured it out! It seems C9 runs our login sessions under tmux which has its own default shell command setting = bash. I created my own tmux.conf with the line "set -g default-command zsh", ran "unset TMUX" to disable the inherited tmux settings, ran tmux and got a nice tmux session with the usual green menu bar and with zsh as the default shell.

like image 60
Andrew M. Avatar answered Sep 24 '22 09:09

Andrew M.