You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a stash, the stash symbol for the git-radar display overlaps the first character of my command. Here's an example where I've typed OOO into the command line, you can see how it overlaps the first O.
My PS1 line in .bashrc is:
PS1="$PS1\$(git-radar --bash --fetch)"
If I add a trailing space to PS1 like:
PS1="$PS1\$(git-radar --bash --fetch) "
but then in any non-git repos there are two spaces after the the $ in my prompt which I find annoying.
The text was updated successfully, but these errors were encountered:
#110 Might not be that useful to you several years later, but I made a PR 3 or so years ago that lets you add a configurable prefix and suffix string for git-radar, so you can add a space to the end of git radar and it will only render when in a repo.
There hasn't really been any activity on this repo though so it hasn't been merged.
I started my own version of git-radar here written in golang (I wanted an excuse to learn go), if you are interested as well.
If there is a stash, the stash symbol for the git-radar display overlaps the first character of my command. Here's an example where I've typed
OOO
into the command line, you can see how it overlaps the firstO
.My
PS1
line in .bashrc is:If I add a trailing space to
PS1
like:but then in any non-git repos there are two spaces after the the
$
in my prompt which I find annoying.The text was updated successfully, but these errors were encountered: