role_users/templates/bash_aliases.j2

14 lines
426 B
Bash
Raw Permalink Normal View History

2022-10-10 09:20:20 +00:00
# {{ ansible_managed }}
## BEGIN common
PS1='${debian_chroot:+($debian_chroot)}\[\033[38;5;99m\]\u@\h\[\033[00m\]:\[\033[38;5;141m\]\w\[\033[00m\]\$ '
alias ls='ls --color=auto -lah --group-directories-first'
alias df='df -h --exclude-type=tmpfs --exclude-type=devtmpfs'
## END common
{% if user.get('extras', {}).get('bash_aliases', '') | length > 0 %}
## BEGIN user
{{ user.extras.bash_aliases }}
## END user
{% endif %}