Created
January 28, 2017 18:56
-
-
Save mdrx-io/0c026685d652b65d9b6140f374557b78 to your computer and use it in GitHub Desktop.
Bash prompt
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
# Crunchex's Bash Prompt | |
# Reset | |
Color_Off='\[\e[0m\]' # Text Reset | |
# Colors will work nice when used with "Solarized" palette. | |
# Nothing new here | |
White='\[\e[0;37m\]' # White | |
BPurple='\[\e[1;35m\]' # Purple | |
Green='\[\e[0;32m\]' # Green | |
Blue='\[\e[0;34m\]' # Blue | |
Yellow='\[\e[0;33m\]' # Yellow | |
Purple='\[\e[0;35m\]' # Purple | |
BWhite='\[\e[1;37m\]' # White | |
PS1="${White}┌─ ${Blue}\@ ${White}in ${Yellow}\w ${White}\n└───> ${Color_Off}" | |
# reset color after prompt | |
trap "echo -ne '\e[0m'" DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment