Created
December 21, 2012 20:53
-
-
Save pwenzel/4355739 to your computer and use it in GitHub Desktop.
Set terminal colour based on local or remote session
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
# This sets the highlight colour based upon whether you're remote or local. | |
export PS1="\[${HC}\033]0;\u@\h: \w\[\007\]\[${cyan}\]\u\[${HC}\]@\h: \w \[${cyan}\]\$ \[${NC}\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment