简体   繁体   中英

Tmux does not work in ZSH shell in arch linux

Initially, I had tmux working in bash shell. Then, I installed the zsh shell and changed the default shell to zsh with the following line:

#set shell
set-option -g default-shell /usr/bin/zsh

Then, I noticed that tmux would not work. For instance, after getting into tmux, pressing ctrl+b+" displayed a yellow bar at the bottom with "index" on it.

Since then, I have made several modifications to tmux.conf and now I do not know the settings for the default tmux.conf. I tried removing and reinstalling tmux but the tmux.conf file still remains the same.

Any suggestions would be very much appreciated. Thanks.

Try to re-install tmux using this command:
dpkg --purge tmux
This will erase all tmux configuration file. And then install it again
apt-get install tmux

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM