-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Gitmux not loading at all #89
Comments
Ok so the output above shows that gitmux is working well. The problem seems to lie in how gitmux is called from Note that gitmux readme shows:
From what I see you're not using |
So, I tried that as well. Same result. Nothing shows up on the status bar. For a bit more context, I was borrowing the config from here. I searched for |
Hey @arl. Apologies for leaving this issue up for a bit. So, gitmux wasn't working before due to a wonky setup that I have where my default shell is zsh but I tell tmux to open bash shell in new windows. After adding gitmux to zsh $PATH, gitmux will work with defaults but it refuses to work with my config file. I confirmed the path multiple times and can even issue I wanted to ask how I can debug using |
Hey @hqkhan The This allows one to know why would gitmux would failed to print anything, which is your case. You can even try to run:
Or whatever command you're using in |
I'm still running into issues. I uploaded a video below to showcase commands tried and what gitmux shows. When I reload my config, you can see gitmux showing up for a split second before disappearing. If I manually set it with the same command, it shows up. I tried it with zsh as well because of my "wonky" setup mentioned previously but the issue is still there. The spacing is off as well cropped_gitmux.movHere's my gitmux config:
|
@arl I apologize for "@-ing" you. I wanted to ping you to see if you got a chance to look at the video and if it provides and meaningful error. For some reason, it disappears right away upon config reload. Setting it again works... |
Both the video and what you're saying are going in the same direction, which is that gitmux is working correctly but that some other option in your tmux.conf are conflicting with what you want to show on the left side of tmux status bar. For example if you replaced the whole gitmux command with the |
Hey @arl. Thank you so much. I went through my config and found the issue. Specifically, From
I think it basically flushes the entire statusline to put its thing on there which was deleting my statusline. It does so continuously so nothing else that modifies the statusline can really work besides modifying window names. I had trouble getting it working with Thank you for your help! |
Cool, glad you worked it out Hassaan 👍🏽 |
Describe the bug
Gitmux is not showing in the statusbar.
To Reproduce
Tmux conf:
I commented and removed all tmux plugins to see if it'd fix but still nothing.
Expected behavior
Expecting gitmux to show branch and other git items on the statusbar.
Screenshots
The above image shows nothing from gitmux.
Here's the output in the terminal when I call gitmux manually in my yadm repo. The issue is there in any other git repo.
Environment:
0.9.1
tmux next-3.4
AL2_x86
bash
Gitmux Config:
$HOME/.config/tmux/gitmux.conf
:The text was updated successfully, but these errors were encountered: