git-aware-prompt icon indicating copy to clipboard operation
git-aware-prompt copied to clipboard

Display current Git branch name in your terminal prompt when in a Git working directory.

Results 37 git-aware-prompt issues
Sort by recently updated
recently updated
newest added

I find that when working with multiple repositories – or especially with git submodules – it can be useful to see in the prompt which one I'm currently in. (This...

The function find_git_dirty() delayed prompt display by over a second when in a large repo, so I now use the plumbing commands instead of "git status". Because we don't actually...

Implementation of paulej's suggestion in issue #51: https://github.com/jimeh/git-aware-prompt/issues/51

Installation did not work for `Ubuntu 18.10` with default instructions. Adding required commands to the bottom of `.bashrc` fixed it.

``` Mac OS X export PS1="\u@\h \W \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " ``` Sq brackets are missing around $git_branch and $git_dirty `\[$txtcyn\]\[$git_branch\]\[$txtred\]\[$git_dirty\]\[$txtrst\]\$`

`echo` (both the built-in command and /bin/echo) doesn't recognize the "\e" escape sequence on OS X. (This may not be an issue, since `$TERM` is typically only unset in non-interactive...

When use PS1 = export PS1="\${debian_chroot:+(\$debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " below bashrc, Teminer lose path folder ![lose](https://user-images.githubusercontent.com/19677561/41886438-9091fa54-7926-11e8-8b13-dce83765fad8.png) ![notlose](https://user-images.githubusercontent.com/19677561/41886447-95cd5450-7926-11e8-8fc9-62ac22b21e93.png)

Through the variable DISABLE_GIT_AWARE, allow disabling the software. This is needed, for example, when using a huge git repository, if we don't want the script to slow the command line...

Hi, I have install success on my terminal mac os. But at this terminal i cant view git branch is beautiful. But I close this terminal and reopen, I cd...

Users can set their own dirty symbol by setting the environment variable 'dirtysymb'. If they leave it unset, then the script will default to the *.