# -*- shell-script -*- # If not running interactively, don't do anything if [[ $- != *i* ]]; then return fi # Don't put duplicate lines in the history. See bash(1) for more options # ... or force ignoredups and ignorespace HISTCONTROL=ignoredups:ignorespace # Append to the history file, don't overwrite it shopt -s histappend # For setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 # Check the window size after each command and, if necessary, update the values of LINES and COLUMNS. shopt -s checkwinsize set -o physical alias cd='cd -L' if test -r ~/.config/bash/aliases; then . ~/.config/bash/aliases fi if test -r /etc/bash_opt; then . /etc/bash_opt fi . ~/.config/bash/bashrc_palette . ~/.config/bash/bashrc_prompt for __script in ~/.config/bash/bashrc.d/*; do if test -r "${__script}"; then . "${__script}" fi done unset __script if test -r ~/.config/bash/"bashrc-$(hostname)"; then . ~/.config/bash/"bashrc-$(hostname)" fi if test -r ~/work/.config/bash/bashrc; then . ~/work/.config/bash/bashrc fi if test "$TERM" = linux; then printf '\e[?8c' if test -n "$PALETTE"; then printf "$PALETTE"'\e[H\e[2J' fi palette-set `blackNcsColours` elif test "$TERM" = xterm; then export TERM=xterm-256color fi featherweight-off