Created
November 30, 2020 08:46
-
-
Save discatte/ca12a5b83474e9516fa8b54a53f33425 to your computer and use it in GitHub Desktop.
Discatte PS1 bash 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
# Colors for scripts | |
CLR="\[\033[0m\]" # unsets color to term's fg color | |
# regular colors | |
BLK="\[\033[0;30m\]" # black | |
RED="\[\033[0;31m\]" # red | |
GRN="\[\033[0;32m\]" # green | |
YLW="\[\033[0;33m\]" # yellow | |
BLU="\[\033[0;34m\]" # blue | |
MGN="\[\033[0;35m\]" # magenta | |
CYN="\[\033[0;36m\]" # cyan | |
WHT="\[\033[0;37m\]" # white | |
# emphasized (bolded) colors | |
EBLK="\[\033[1;30m\]" | |
ERED="\[\033[1;31m\]" | |
EGRN="\[\033[1;32m\]" | |
EYLW="\[\033[1;33m\]" | |
EBLU="\[\033[1;34m\]" | |
EMGN="\[\033[1;35m\]" | |
ECYN="\[\033[1;36m\]" | |
EWHY="\[\033[1;37m\]" | |
# background colors | |
BGBLK="\[\033[40m\]" | |
BGRED="\[\033[41m\]" | |
BGGRN="\[\033[42m\]" | |
BGYLY="\[\033[43m\]" | |
BGBLU="\[\033[44m\]" | |
BGMGN="\[\033[45m\]" | |
BGCYN="\[\033[46m\]" | |
BGWHT="\[\033[47m\]" | |
PS1="$RED\[\]░$GRN\[\]░$YLW\[\]░$BLU\[\]░ $MGN\[\]($BLU\[\]=$WHT\[\]ↀ $MGN\[\]ω $WHT\[\]ↀ $BLU\[\]=$MGN\[\]) $BLU\[\]░$YLW\[\]░ $MGN\W $GRN\[\]░$RED\[\]░ $CLR~ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment