Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Colours for Echos L=Light, D=Dark, B=Bold
- NC='\033[0m' # No Color
- WHITE='\033[0;37m'
- B_WHITE='\033[1;37m'
- PURPLE='\033[0;35m'
- ORANGE='\033[0;33m'
- BLUE='\033[0;34m'
- L_BLUE='\033[0;94m'
- LB_BLUE='\033[1;94m'
- D_BLUE='\033[1;34m'
- B_CYAN='\033[1;36m'
- CYAN='\033[0;36m'
- GREEN='\033[0;32m'
- L_GREEN='\033[0;92m'
- LB_GREEN='\033[1;92m'
- RED='\033[0;31m'
- # For Git in PS1
- parse_git_branch() {
- git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
- }
- # Bash Prompt
- PS1="${LB_BLUE}\u${B_WHITE}@${CYAN}CSE: ${GREEN}\w${ORANGE}\$(parse_git_branch)\n$ ${NC}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement