# disable history expansion set +H SECONDS=0 alias ls='ls --color=auto' alias grep='grep --color=auto' # The remaining code won't work with bash 1.x case $BASH_VERSION in 1.*) return;; esac # Make the timing output one line instead of four TIMEFORMAT='real: %3lR, user: %3lU, sys: %3lS' # extglob was introduced in 2.02 case ${BASH_VERSINFO[0]} in 2) case ${BASH_VERSINFO[1]} in 0|01) return ;; esac ;; esac shopt -s extglob # globstar was introduced in 4.0 if (( BASH_VERSINFO[0] >= 4 )); then shopt -s globstar fi # Special case for trigger #, enable all loadables if [[ ${LOADABLES+set} ]]; then unset -v LOADABLES source loadables fi