Set default shell in Cloud9 Terminal [closed]

﹥>﹥吖頭↗ 提交于 2019-12-01 01:28:19

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/26741781/set-default-shell-in-cloud9-terminal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!