Skip to content

History autosuggest in tmux? #145

Answered by Yomgui33
Yomgui33 asked this question in Q&A
Discussion options

You must be logged in to vote

I finally found what causes the issue while searching to solve another problem: the cursor kept disappearing in tmux after certain commands, but not with newly installed bins (I used xclip to investigate).

Typing evil-winrm then space in tmux? No more cursor.
Typing xclip then space? Cursor was still there, blinking.
And no more blinking issues if using bash inside tmux instead of zsh.

The source of both problems is in .zshrc :

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=626262'

This color seems to make the auto-suggestion "invisible" (same as background color maybe?) due to the whole color scheme (at least for me).

If you replace the color with something else (I used 60), then you have the auto-…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Yomgui33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants