I recently installed Zsh in the hope of a better life and bright mornings. However, I quickly realized that Zsh introduces various problems in combination with tmux .
The first problem was that some strange thing happened before my commands, but this was resolved by providing tmux with the -u flag for unicode support. However, I am stuck with one last issue that needs to be resolved before I can use Zsh with tmux :Usecase : autocomplete a command containing several sentences
Problem : autocomplete shifts a sentence with one character to the right, leaving the original character (visual error, it is not included in the command)
Example 1

Then I pressed TAB ..

Example 2

Then I pressed TAB ..

Note 1: When using Bash -shell does NOT happen .
Note 2: I am using "oh-my-zsh". This issue only occurs when using the provided topics. This narrows it down to the oh-my-zsh problem, not the zsh / tmux-based one.
source
share