zsh4humans icon indicating copy to clipboard operation
zsh4humans copied to clipboard

Not working with tmuxp

Open iomari opened this issue 2 years ago • 5 comments

Greetings, I started using zsh4hmans yesterday and I am very pleased with it. When I boot into my system, I use tmuxp to load my tmux session. To my surprise, this does not work with zsh4humans. I'm getting the error: "ValueError: Session requires a session_id". If I remove zsh4humans and go back to my own.zshrc file, the problem goes away. Any suggestions?

thanks in advance iomari

iomari avatar Nov 12 '21 10:11 iomari

Does it work if you add the following line at the top of ~/.zshrc and restart your terminal?

zstyle ':z4h:' start-tmux 'no'

romkatv avatar Nov 12 '21 11:11 romkatv

same error

iomari avatar Nov 12 '21 11:11 iomari

I just notice that when I add the above line, the prompt o longer appears on the bottom even thought i have: zstyle ':z4h:' prompt-at-bottom 'yes'

iomari avatar Nov 12 '21 11:11 iomari

I don't use tmuxp myself and don't know what it does. To debug this I would need to dive into it. This might happen but not soon. Think months, or maybe even never. If you decide to debug this yourself and figure it out, please post a comment.

romkatv avatar Nov 12 '21 11:11 romkatv

No Problem. I understand. Thanks.

iomari avatar Nov 12 '21 11:11 iomari