Skip to content

Instantly share code, notes, and snippets.

@chyld
Created May 6, 2019 09:27
Show Gist options
  • Save chyld/5e28647a8355ea71cd8a993d1d5af437 to your computer and use it in GitHub Desktop.
Save chyld/5e28647a8355ea71cd8a993d1d5af437 to your computer and use it in GitHub Desktop.
# COLORS
c0="\[\e[38;2;0;255;255m\]"
c1="\[\e[38;2;220;20;60m\]"
c2="\[\e[38;2;255;69;0m\]"
c3="\[\e[38;2;255;215;0m\]"
c4="\[\e[38;2;173;255;47m\]"
c5="\[\e[38;2;46;139;87m\]"
c6="\[\e[38;2;0;128;128m\]"
c7="\[\e[38;2;0;191;255m\]"
c8="\[\e[38;2;138;43;226m\]"
c9="\[\e[38;2;128;0;128m\]"
ca="\[\e[38;2;255;0;255m\]"
cb="\[\e[38;2;255;20;147m\]"
cc="\[\e[38;2;255;248;220m\]"
cd="\[\e[38;2;240;248;255m\]"
ce="\[\e[38;2;240;255;240m\]"
cf="\[\e[38;2;255;250;250m\]"
# RESET
r="\[\e[0m\]"
# BOLD
b="\[\e[1m\]"
# ITALICS
i="\[\e[3m\]"
# UNDERLINE
u="\[\e[4m\]"
# ALIASES
alias l='ls -alhGF'
alias h='history'
alias c='clear'
alias b='cd ..'
# PROMPT
export PS1="$c0\u$c3+$c0\h $u$c4\w$r "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment