Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tmux support #116

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add tmux support #116

wants to merge 5 commits into from

Conversation

jchilders
Copy link

This adds a --tmux option allowing for git-radar to be used in a tmux status prompt.

@wkrsz
Copy link

wkrsz commented Mar 1, 2020

Works for me.

I had to tweak status command, otherwise git-radar would always run in the same directory, regardless of pane:

set -g status-right '#(cd "#{pane_current_path}" && git-radar --tmux)'

Also also had an issue where the lightning character added also created a newline breaking the status line. This did not happen with any other emoji:
workspace

As a workaround I disabled "use unicode version 9+ widths" setting in iTerm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants