2019-11-03 17:19:53 +00:00
|
|
|
#jinja2:lstrip_blocks: True
|
|
|
|
{{ ansible_managed | comment }}
|
2022-09-18 19:44:46 +00:00
|
|
|
|
2019-11-03 17:19:53 +00:00
|
|
|
# are we an interactive shell?
|
|
|
|
if [ "$PS1" ]; then
|
|
|
|
if [[ ${EUID} == 0 ]] ; then
|
|
|
|
PS1='\[$(tput bold)\]\[\033[38;5;9m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h [\w] \$ \[$(tput sgr0)\]'
|
|
|
|
else
|
|
|
|
PS1='\[$(tput bold)\]\[\033[38;5;12m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h [\w] \$ \[$(tput sgr0)\]'
|
|
|
|
fi
|
|
|
|
|
|
|
|
{% for item in users_global_bash_aliases %}
|
|
|
|
alias {{ item.alias }}='{{ item.command }}'
|
|
|
|
{% endfor %}
|
|
|
|
fi
|