-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
making it work with tmux #7
Comments
Also, I just found out that It was the cause of another issue I had when opening new tmux panes |
I don't know if you have the same issue as I do, but calling any of the
|
I might have spoken too soon. This doesn't quite solve the problem. However, the issue is real on |
I'm running into this issue as well. Seems like there is some issue with the escape sequences, possibly in later versions of tmux. I don't have the knowledge or patience right now to deal with understanding tmux escape sequences, but I've done a quick workaround - in my experience, theme still works inside if you set outside of tmux, so just check for being in tmux before calling function: base16-fish/conf.d/base16.fish
I've made a quick fork (its not worth putting in a PR for something like that imo), if needed. |
Thanks a lot for sharing your tricks 👏 After reading this thread, I added the following in my if test -f ~/.config/fish/conf.d/base16.fish
rm ~/.config/fish/conf.d/base16.fish
end
if status --is-interactive && test -z "$TMUX"
base16-solarized-dark
end |
@twiggley you should make a pull request because your fix, solved my issue with tmux; it may also help others who have no idea why their tmux config is not working. It took me a long time to narrow my issue down to this fish plugin. I thought the issue was tmux and how it works with fish shell, then, I thought it could be my starship prompt; finally, I figured out it was in fact this plugin. I ended up fisher installing your repo. |
EDIT: Oops never mind, I see that there was a typo in that other repo that was fixed in the next commit. |
I guess my question is why Twiggley's solution isn't a full solution? I'm by no means a tmux expert or fish shell expert. Thanks in advance for anyone who answers my question. |
Hey @tomyun, thanks a lot for this awesome plugin.
I have an issue with switching themes using tmux, I tired few ways to fix this but without any luck
I found that somehow, according to a comment in color/*.conf `Tell tmux to pass the escape sequences through I set the following overrides but no luck.
like
Thanks
The text was updated successfully, but these errors were encountered: