【发布时间】:2010-05-22 17:11:53
【问题描述】:
我正在使用 KUbuntu 10.04 (Lucid Lynx)。我已经安装了 zsh 和 screen。我已将 zsh 设置为默认 shell,方法是在终端的 Settings->Edit Current Profile 中将 Command 设置为 zsh。 但是,当我启动屏幕时,会加载 bash shell。如果我运行命令 zsh,则 zsh 会启动,但会显示以下消息:
"/home/joel/.zshrc:36: Can't add module parameter `mapfile': parameter already exists"
此外,zsh 仅针对当前屏幕实例调用,我必须为其他实例再次手动调用它。 那么,有没有办法让屏幕默认加载zsh并为每个实例自动调用它?
谢谢
【问题讨论】:
-
属于 superuser.com
-
请发
~/.zshrc的内容。 -
或尝试将您的
~/.zshrc消隐
标签: unix zsh gnu-screen