Update prompt colors in bashrc and motd template

This commit is contained in:
Ethan N. Paul 2018-12-13 22:01:48 -05:00
parent b083a68f78
commit cd62ead5ea
2 changed files with 7 additions and 10 deletions

View File

@ -13,7 +13,7 @@ parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
} }
export PS1="\[\e[0;97m\]\[\e[94m\]\u\[\e[0;97m\]@\[\e[1;96m\]\h\[\e[33m\]\$(parse_git_branch) \e[0m\[\e[37;3m\]\w\[\e[33m\] \[\e[0;97m\]\$\[\e[0m\] " export PS1="\[\e[0;97m\]\[\e[37m\]\u\[\e[1;94m\]@\[\e[94m\]\h\[\e[0;33m\]$(parse_git_branch) \[\e[37m\]\w\[\e[33m\] \[\e[0;97m\]$\[\e[0m\] "
function venv() { function venv() {
DIR="/home/$USER/.virtualenvs" DIR="/home/$USER/.virtualenvs"

View File

@ -1,11 +1,8 @@
______ _ _ __ _ _______ _______ __ _ ______ _______ __ _ _______
| ___ \ | \ / | | \ | | |__ __| | _____| | \ | | | __ | | ___ | | \ | | | _____|
| | | | | \ / | | \ \ | | | | | |____ | | \ | | | |__| | | | | | | | \ | | | |____
| | | | | \/ | | |\ \ | | | | | ____| | |\ \| | | ____| | | | | | |\ \| | | ____|
| | | | | |\ /| | | | \ \| | | | | |_____ | | \ | | | | | |___| | | | \ | | | |_____
| |___| | | | \/ | | | | \ \ | __| |__ |_______| |_| \__| |_| O |_______| |_| \__| |_______|
\______| |_| |_| |_| \__| |______/
{{ description | default('ENPN Distributed System') }} {{ description | default('ENPN Distributed System') }}
{{ ansible_distribution }} {{ ansible_distribution_version }} - Ansible'd {{ ansible_date_time.date }}