shopt 750 B

12345678910111213141516171819
  1. ##### My (demuredemeanor) bashrc sub source shopt script
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles/
  4. # legacy repo http://github.com/demure/dotfiles
  5. # vim:set syntax=sh:
  6. ### Universal Shopts ### {{{
  7. shopt -s histappend # Appends hist on exit
  8. shopt -s cmdhist # Save multi-line hist as one line
  9. shopt -s checkwinsize # Update col/lines after commands
  10. ### Completion ### {{{
  11. shopt -s autocd 2>/dev/null # Can change dir without `cd`
  12. shopt -s cdspell # Fixes minor spelling errors in cd paths
  13. shopt -s no_empty_cmd_completion # Stops empty line tab comp
  14. shopt -s dirspell 2>/dev/null # Tab comp can fix dir name typos
  15. ### End Completion ### }}}
  16. ### End Universal Shopts ### }}}