Last active
February 1, 2017 14:26
-
-
Save tkalfigo/8830556 to your computer and use it in GitHub Desktop.
Set bash shell prompt to display git branch when in versioned folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="\[\e]0;\u@\h:\w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$(__git_ps1)\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment