This commit is contained in:
Ray Elliott 2026-10-27 13:13:29 +00:00
commit c3c680ecca
11 changed files with 364 additions and 356 deletions

29
bashrc.d/00-core.bash Normal file
View file

@ -0,0 +1,29 @@
# shellcheck shell=bash
# Shared colors used by later Bash modules.
_WHITE='\033[1;37m'
_NC='\033[0m'
_RED='\033[0;31m'
_YELLOW='\033[0;33m'
_BLUE='\033[1;34m'
_BRIGHT_GREEN='\033[1;32m'
_BRIGHT_RED='\033[1;31m'
_BRIGHT_WHITE='\033[1;37m'
_DIM_RED='\033[91m'
export SHELL_CONFIG="${SHELL_CONFIG:+${SHELL_CONFIG}:}.bashrc"
export HISTCONTROL=ignoreboth:erasedups
export HISTFILE="$HOME/.histfile"
export HISTSIZE=10000
export HISTFILESIZE=10000
shopt -s histappend checkwinsize
# Disable terminal flow-control keys only when stdin is a terminal.
[[ -t 0 ]] && stty -ixon
# If there are multiple completion matches, cycle through them while still
# displaying the shared prefix and full candidate list.
bind TAB:menu-complete
bind "set show-all-if-ambiguous on"
bind "set menu-complete-display-prefix on"