# shellcheck shell=bash # Shell options: history, window size, and color support # History HISTCONTROL=ignoredups shopt -s histappend HISTSIZE=1000 HISTFILESIZE=2000 # Update LINES and COLUMNS after each command shopt -s checkwinsize # Enable color support for ls if command -v dircolors &>/dev/null; then if [[ -r ~/.dircolors ]]; then eval "$(dircolors -b ~/.dircolors)" else eval "$(dircolors -b)" fi alias ls='ls --color=auto' fi