all repos — dotfiles @ 01d630745d1bd027438d8a1a3b79d3c69431e22f

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
26complete -cf doas
27
28# z
29# source ~/leet/z/z.sh
30
31for i in ~/.bashrc.d/[0-9]*; do
32    . "$i"
33done
34
35export NVM_DIR="$HOME/.nvm"
36[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
37[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion