bash/.bashrc (view raw)
1# better history syncing
2shopt -s histappend
3export HISTCONTROL=ignoreboth:erasedups
4HISTSIZE=1000
5HISTFILESIZE=2000
6
7# cool options for cool kids
8shopt -s \
9 autocd \
10 globstar \
11 checkwinsize \
12 cdspell \
13 dirspell \
14 expand_aliases \
15 dotglob \
16 gnu_errfmt \
17 histreedit \
18 nocasematch
19
20bind 'set completion-ignore-case on'
21bind 'set show-all-if-ambiguous on'
22bind 'set colored-stats on'
23bind 'set completion-display-width 1'
24bind 'TAB:menu-complete'
25
26complete -cf doas
27
28# z
29source ~/leet/z/z.sh
30
31for i in ~/.bashrc.d/[0-9]*; do
32 . "$i"
33done