1

I've installed the cloud9 sdk on an archlinux, and I'd like to have zsh when I open a terminal, instead of bash. In the mean time I'm just launching zsh manually, but I want this to be automatic. I tried to make a .bashrc whith only zsh inside, but bash doesn't use that .bashrc.

Any idea on how to do this?

EDIT : Since editing /etc/bashrc doesn't work and neither does the command usermod -s /bin/zsh <user>, I think that cloud9 sdk uses something else...

4

1 回答 1

0

你可以试试,/etc/bashrc但那/etc/profile将是一个黑客。

最好的办法是在/etc/password

相关:如何将 shell 从 /bin/bash 更改为 /bin/zsh?

于 2016-08-22T12:44:40.540 回答