ansible/roles/shell/templates/bashrc.sh.j2

25 lines
691 B
Plaintext
Raw Normal View History

case $- in
*i*) ;;
*) return;;
esac
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
shopt -s histappend checkwinsize globstar
HISTFILESIZE=42069
HISTSIZE=42069
#PS1='${debian_chroot:+($debian_chroot)}{{ bash_prompt }} '
PS1='{{ bash_prompt }} '
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
[ -f ~/.bash_aliases ] && . ~/.bash_aliases
[ -f ~/.aliases ] && . ~/.aliases
[ -f ~/.env ] && . ~/.env
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi