Giter VIP home page Giter VIP logo

Comments (5)

arl avatar arl commented on May 26, 2024

Hi and thanks for reporting but tmux-gitbar does not support tmux 1.8, that is quite an old version you are using. Tmux-gitbar is tested and works with any tmux version from 1.9a included. Current tmux version is 2.6.

If however updating tmux is not an option and you really want to use tmux-gitbar, you can still do it but you'll have to modify tmux-gitbar code yourself. Cheers

from tmux-gitbar.

smazur avatar smazur commented on May 26, 2024

I've workaround this issue by kicking of the line causing this problem in ~/.tmux-gitbar/lib/tmux-gitbar.sh:69. So I assume the fix should be simple.

from tmux-gitbar.

arl avatar arl commented on May 26, 2024

By removing this line, tmux-gitbar won't be able to set the tmux status bar back to its non-git state, by non-git state I mean what tmux shows when your current directory is not a Git working tree. If you don't have a specially crafted tmux status bar, I guess that's not a problem.

from tmux-gitbar.

smazur avatar smazur commented on May 26, 2024

Sorry for my bad explanation. I didn't removed it, but set TMGB_OUTREPO_STYLE to empty value. I didn't get any problems when switching between git/non-git directories. The only thing gitbar is not updated when i switching between tmux tabs.

from tmux-gitbar.

arl avatar arl commented on May 26, 2024

Oh ok. gitbar is never updated when switching between tmux windows, that is not related to what you did. Because the bar is updated via bash $PROMPT_COMMAND, switching windows doesn't trigger $PROMPT_COMMAND.

Feel free to close this issue when you think it's resolved.

from tmux-gitbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.