PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' PATH="${HOME}/bin:${PATH}" # Interactive shells only beyond this point [ "${PS1+set}" = 'set' ] || return PATH="${HOME}/ibin:${PATH}" # Bash history HISTSIZE=1000 HISTFILESIZE=1000 HISTCONTROL=ignoreboth shopt -s histappend # DTRT with "!" set +H # Prompt PS1='\[\033[01;32m\]\u@\h\[\033[00m\]' if [ -r /etc/debian_chroot ]; then PS1="${PS1}(\[\033[01;35m\]$(cat /etc/debian_chroot)\[\033[00m\])" fi PS1="${PS1}"':\[\033[01;34m\]\w\[\033[00m\]\$ ' # Terminal window title case "${TERM}" in xterm*|rxvt*) PS1="\[\e]0;\u@\h:\w\a\]${PS1}" ;; esac # Environment if [ -f ~/.bash_exports ]; then . ~/.bash_exports fi # Aliases and functions if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # Completions if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi # Set DISPLAY for SSH sessions. { read -r DISPLAY 0<~/.xdisplay && export DISPLAY; } 2>/dev/null || : if ! [ -r /etc/debian_chroot ]; then for f in $(run-parts --list ~/.bashrc.d); do . "${f}" done fi