Last active
August 15, 2020 21:08
-
-
Save juangiordana/7c6802303962d35a1cfbb042f8276914 to your computer and use it in GitHub Desktop.
Colored Git prompt for Homestead box.
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
# https://unix.stackexchange.com/questions/124407/what-color-codes-can-i-use-in-my-ps1-prompt | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[38;5;214m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\] \$\[\033[00m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want this in your Homestead box, add the following code snippet to your
user-customizations.sh
file and re-provision the Homestead machine using thevagrant reload --provision
command.