Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Possible to remove the need to add a line in .bashrc? #9

Closed
arl opened this issue Feb 18, 2016 · 0 comments · Fixed by #15
Closed

Possible to remove the need to add a line in .bashrc? #9

arl opened this issue Feb 18, 2016 · 0 comments · Fixed by #15
Assignees

Comments

@arl
Copy link
Owner

arl commented Feb 18, 2016

The best way to do this, is to make tmux-gitbar.sh a script called, with absolute path, from PROMPT_COMMAND, instead of, as I'm doing now, defining PROMPT_COMMAND as:

PROMPT_COMMAND="update_gitbar; $PROMPT_COMMAND"

So:

PROMPT_COMMAND="/full/path/to/tmux-gitbar.sh; $PROMPT_COMMAND"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant