GithubHelp home page GithubHelp logo

Comments (3)

arl avatar arl commented on June 28, 2024

As tmux-gitbar would still require the user to manually add a line to its .tmux.conf, the fact is that there is little to no value (just complications) to make its installation 100 automated using TPM. Closing

from tmux-gitbar.

waigx avatar waigx commented on June 28, 2024

Hi Aurélien, for

still require the user to manually add a line to its .tmux.conf,

Do you mean the config line of status-right string?

from tmux-gitbar.

arl avatar arl commented on June 28, 2024

Hi @waigx.
The fact is tmux-gitbar, to function properly, requires a modification to the user's PROMPT_COMMAND environment variable.
If tmux-gitbar is installed to a location that is known beforehand (ex: $HOME/. tmux-gitbar) then it should be theory installable with TPM, because all what remains to be done is, as you said, configuring status-left|right.

If the installation location is different, then the user needs either to modify PROMPT_COMMAND via .bashrc, or via a line in .tmux.conf ( as stated in the docs)

All this makes it difficult with TPM.

However since tmux 2.2 I believe, hooks are supported, by using hooks tmux-gitbar wouldn't require any more to use PROMPT_COMMAND, as such, it would support all shells (as opposed to only bash for now)

This plus the fact that I rewrote a tool that provided the same features as tmux-gitbar, in Go, using tmux hooks feature.
Have a look at #60

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.