关闭。这个问题是off-topic .它目前不接受答案。
想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。
9年前关闭。
Improve this question
我使用 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 并为每个实例自动调用它?
谢谢你
请您参考如下方法:
如果你只想让它成为 screen session 的默认 shell,你可以简单地将此行添加到你的 ~/.screenrc
文件。
shell "/usr/bin/zsh"