update
This commit is contained in:
parent
7a97c460d8
commit
c3c680ecca
11 changed files with 364 additions and 356 deletions
29
bashrc.d/00-core.bash
Normal file
29
bashrc.d/00-core.bash
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue