Created
July 13, 2016 16:58
-
-
Save anonymous/775a1070bbb64b4f09907705cbd51413 to your computer and use it in GitHub Desktop.
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
if [ -z "$WP" ]; then | |
# $WP is empty... you are not in a chroot workspace | |
export PS1="\033[0;31m"$PS1"\033[0m" | |
else | |
# $WP contains the name of the project you're currently in | |
export PS1="\033[0;37m"$WP": "$PS1"\033[0m" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment