[英]Tmux does not work in ZSH shell in arch linux
Initially, I had tmux working in bash shell. 最初,我让tmux在bash shell中工作。 Then, I installed the zsh shell and changed the default shell to zsh with the following line:
然后,我安装了zsh shell,并使用以下行将默认shell更改为zsh:
#set shell
set-option -g default-shell /usr/bin/zsh
Then, I noticed that tmux would not work. 然后,我注意到tmux无法正常工作。 For instance, after getting into tmux, pressing
ctrl+b+"
displayed a yellow bar at the bottom with "index" on it. 例如,进入tmux后,按
ctrl+b+"
会在底部显示一个黄色条,上面带有“ index”。
Since then, I have made several modifications to tmux.conf and now I do not know the settings for the default tmux.conf. 从那时起,我对tmux.conf进行了一些修改,现在我不知道默认tmux.conf的设置。 I tried removing and reinstalling tmux but the tmux.conf file still remains the same.
我尝试删除并重新安装tmux,但tmux.conf文件仍然保持不变。
Any suggestions would be very much appreciated. 任何建议将不胜感激。 Thanks.
谢谢。
Try to re-install tmux using this command: 尝试使用以下命令重新安装tmux:
dpkg --purge tmux
This will erase all tmux configuration file. 这将清除所有tmux配置文件。 And then install it again
然后重新安装
apt-get install tmux
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.