all repos — dotfiles @ a9d88fbd77f9981feebf5d0e6b84f588d239c028

my *nix dotfiles

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
26if ! shopt -oq posix; then
27  if [ -f /usr/share/bash-completion/bash_completion ]; then
28    . /usr/share/bash-completion/bash_completion
29  elif [ -f /etc/bash_completion ]; then
30    . /etc/bash_completion
31  fi
32fi
33
34# z
35source ~/leet/z/z.sh
36
37for i in ~/.bashrc.d/[0-9]*; do
38    . "$i"
39done