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

Sometimes branch names get very long. Adds a hostname, username and, for python developers, vritualenv names and you can easly get a multiline shell prompt. This helps keep branch name...

I'm a bit clueless when it comes to Bash/Linux so this is probably due to user error, but when I use the colorized ubuntu PS1 I see the following: `]0;export...

- Depends on printf / wc / trim for determining number of changes to git repo

Title of the Terminator in Ubuntu becomes "/bin/bash" after changing PS1 to "\${debian_chroot:+(\$debian_chroot)}\u@\h:\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " But adding "\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " as the PS1 variable resolves the issue. I have...

Adds the option to indicate if there are any stashes associated with the current branch.

The instructions say to install in .bash_profile. If you do this, then find_git_branch and find_git_dirty functions aren't defined in any bash/xterm started from a login shell, so git_branch and git_dirty...

It's a bit of an understatement that I've mostly ignored this project for the last few years. I haven't personally used git-aware-prompt since I switched from bash to zsh about...

I added this simple function, it could probably be cleaned up a bit, but it works pretty good for me. Its a good reminder to commit often etc It will...