$HOME/.bashrc
# init
[[ -z "${PS1}" ]] && return
[[ -f /usr/share/bash-completion/bash_completion ]] && source /usr/share/bash-completion/bash_completion || echo 'bash-completion not found'
# behaviour
shopt -s checkwinsize
shopt -s histappend
# prompt
[[ "$(id -u)" -eq 0 ]] && PS1='\[\e[91m\]\u@\h \[\e[93m\]\w\n\[\e[0m\]# ' && PS1="\[\e]0;\u@\h \w\a\]${PS1}" && export PS1
[[ "$(id -u)" -ne 0 ]] && PS1='\[\e[92m\]\u@\h \[\e[96m\]\w\n\[\e[0m\]$ ' && PS1="\[\e]0;\u@\h \w\a\]${PS1}" && export PS1
$HOME/.profile
if test -f "${HOME}"/.bashrc; then . "${HOME}"/.bashrc; fi