Discussion:
[問題] 變換SHELL
(时间太久无法回复)
建構式摸魚
2012-09-30 01:41:02 UTC
Permalink
裝了zsh想要換成default

chsh -s /bin/zsh 有顯示換成功 (我在user/root都有做這件事)

命令列下打zsh也可以進去

但是每當我用user打開terminal的時候,卻還是bash..

可是進入root權限的話,就會正常變成zsh


我用fedora預設的terminal

想請問哪裡出了問題?

--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 39.8.60.162
鵟.騎士
2012-11-16 06:01:55 UTC
Permalink
Post by 建構式摸魚
裝了zsh想要換成default
chsh -s /bin/zsh 有顯示換成功 (我在user/root都有做這件事)
命令列下打zsh也可以進去
但是每當我用user打開terminal的時候,卻還是bash..
可是進入root權限的話,就會正常變成zsh
我用fedora預設的terminal
VALID SHELLS
chsh will accept the full pathname of any executable file on the
system. However, it will issue a warning if the shell is not listed in
the /etc/shells file. On the other hand, it can also be configured such
that it will only accept shells listed in this file, unless you are root.

所以先確認你的 /etc/shells 內有無 zsh。
--
⊙翱翔青空.傲視大地⊙
Loading...