Skip to content

Add tmux support#116

Open
jchilders wants to merge 5 commits intomichaeldfallen:masterfrom
jchilders:master
Open

Add tmux support#116
jchilders wants to merge 5 commits intomichaeldfallen:masterfrom
jchilders:master

Conversation

@jchilders
Copy link
Copy Markdown

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

@wkrsz
Copy link
Copy Markdown

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