.bashrc 674 B

123456789101112131415161718192021222324252627
  1. source "$HOME/.config/shell/aliases.sh"
  2. source "$HOME/.config/shell/utils.sh"
  3. source "$HOME/.config/shell/setup.sh"
  4. PS1='[\u@\h \W]\$ '
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7. #ignore upper and lowercase when TAB completion
  8. bind "set completion-ignore-case on"
  9. #shopt
  10. shopt -s autocd # change to named directory
  11. shopt -s cdspell # autocorrects cd misspellings
  12. shopt -s cmdhist # save multi-line commands in history as single line
  13. shopt -s dotglob
  14. shopt -s histappend # do not overwrite history
  15. shopt -s expand_aliases # expand aliases
  16. # History in cache directory:
  17. HISTSIZE=1000000000
  18. SAVEHIST=1000000000
  19. HISTFILE=~/.shell_history