Skip to content

command overlaps prompt with stash #118

@travisdowns

Description

@travisdowns

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.

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions