arl / tmux-gitbar

Git in your tmux status bar
GNU General Public License v3.0
169 stars 16 forks source link

Git information not showing up after reloading tmux config #62

Closed dhoss closed 5 years ago

dhoss commented 5 years ago

I've installed tmux-gitbar by git clone-ing per the documentation, updated my config and run source ~/.tmux.conf.

Something initially suspect was that it seems to have hung on generating the git info (apologies, I don't have the exact message handy). I had a config error unrelated to this that I fixed, and reloaded the config again with no change (it didn't hang this time, but no git information is being displayed in my tmux toolbar).

So, an itemized list of steps I've taken to get here:

  1. install per documentation
  2. update tmux config and reload
  3. correct unrelated config error and reload
  4. reload config several more times to attempt to fix issue

I've also tried running update-gitbar from the tmux command prompt but it tells me Unknown command: update-gitbar. I'm not sure if it's because I'm calling it incorrectly or there's something else afoot.

I'm running under bash on high sierra.

bash version: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17) Copyright (C) 2007 Free Software Foundation, Inc.

tmux version: tmux 2.7

.tmux.conf:

# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

set -g @continuum-restore 'on'

source-file "$HOME/.tmux-gitbar/tmux-gitbar.tmux"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
arl commented 5 years ago

Things that you could try to find the problem (in no particular order):

arl commented 5 years ago

Did you fix it?

dhoss commented 5 years ago

I'll try this again today, I've got a new set up so maybe it will elucidate my issue

arl commented 5 years ago

Did you fix so I can close the issue?

dhoss commented 5 years ago

sorry for keeping you waiting, go ahead and close this, I haven't been using it.

arl commented 5 years ago

No worries.

On Sun, 27 Oct 2019, 17:00 Devin Austin, notifications@github.com wrote:

sorry for keeping you waiting, go ahead and close this, I haven't been using it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arl/tmux-gitbar/issues/62?email_source=notifications&email_token=AADUL2UY7XTMMHLWU3ETROTQQW3LTA5CNFSM4GUIOEN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLBVYY#issuecomment-546708195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUL2QSI6QBYBGY2KPIGSTQQW3LTANCNFSM4GUIOENQ .