Created
July 28, 2022 07:51
-
-
Save Bilge/b6c72a1907c0c5a418967cfd98cfa16a to your computer and use it in GitHub Desktop.
Git Prompt
This file contains hidden or 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
PROMPT_COMMAND='__git_ps1 "\[$(tput bold; tput setaf 2)\]\u@\h\[$(tput sgr0; tput bold)\]:\[$(tput setaf 4)\]\w" "\[$(tput sgr0)\]\\\$ " "\[$(tput sgr0; tput bold)\]:\[$(tput setaf 8)\]%s\[$(tput bold)\]"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment