1 2 3 4 5 6 | export PS1="\[\033[38;5;196m\][\[$(tput sgr0)\]\[\033[38;5;46m\]\t\[$(tput sgr0)\]\[\033[38;5;196m\]][\[$(tput sgr0)\]\[\033[38;5;7m\]\w\[$(tput sgr0)\]\[\033[38;5;196m\]][\[$(tput sgr0)\]\[\033[38;5;51m\]\\$\[$(tput sgr0)\]\[\033[38;5;196m\]]\[$(tput sgr0)\]\[\033[38;5;7m\] \u@\h: \[\033[0;39m\]"
trap 'printf "\e[0m"' DEBUG
# ;-)
alias clera=clear
|
x
Notes
This is my simple bashrc.
I’m used http://bashrcgenerator.com/ for host colors.
psychopovt said about 6 years ago
Thanks dude <3