Comments (5)
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.
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.
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.
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.
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)
- How does tmux-gitbar would take advantage of tmux v2.3 HOT 2
- Takes no effect after installation HOT 1
- tmux-gitbar.conf needs to exist outside the repo HOT 6
- Tmux 2.3 problem HOT 15
- Show when a rebase, bisect, am is in progress? HOT 3
- Gitbar is squashed in to rightmost 14 characters HOT 3
- Add length limitation on the branch+remote string, or the whole bar
- No bar on tmux 2.1. HOT 12
- Problem when on a tag in detached state
- Symbols in Bash on Ubuntu on Windows don't work HOT 7
- Some errors occur when update-gitbar called in the initial git directory HOT 3
- Garbage output in freshly created repo with 0 commits
- Bug when reading a newly created repo HOT 8
- Still read Git status when .tmgbignore
- Does not work in zsh HOT 5
- Doesnโt work with ZSH HOT 6
- Git status bar not showing automatically HOT 7
- Git information not showing up after reloading tmux config HOT 6
- Still having zsh issue HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-gitbar.