15 lines
478 B
Plaintext
15 lines
478 B
Plaintext
|
#jinja2:lstrip_blocks: True
|
||
|
{{ ansible_managed | comment }}
|
||
|
# 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
|