Last active
March 1, 2018 15:00
-
-
Save casr/002705769112e4770eb90f5a46651f7d to your computer and use it in GitHub Desktop.
Tab-completion and branch display for MacOS' default terminal
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
bind "set completion-ignore-case on" | |
source /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash | |
source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh | |
GIT_PS1_DESCRIBE_STYLE=branch | |
PS1="\w \$(__git_ps1 '🌴 %s')\n$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A really basic prompt for getting stuff done with Git.
Preview:
Maybe the palm tree is a bit overkill but it is easy to spot and change.