Dotfiles for different machines on different branches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
660 B

  1. #!/bin/bash
  2. set -o vi
  3. stty -ixon # Disable ctrl-s and ctrl-q.
  4. HISTSIZE=10000
  5. SAVEHIST=10000
  6. HISTFILE=~/.cache/shell/history
  7. [ -f "$HOME/.config/shell/shortcutrc" ] && source "$HOME/.config/shell/shortcutrc" # Load shortcut aliases
  8. [ -f "$HOME/.config/shell/aliasrc" ] && source "$HOME/.config/shell/aliasrc" # Load aliases
  9. # Load options depending on current shell
  10. if [ $(echo $0) = "/bin/zsh" ]; then
  11. [ -f "$HOME/.config/shell/zspecific" ] && source "$HOME/.config/shell/zspecific"
  12. fi
  13. if [ $(echo $0) = "/bin/bash" ]; then
  14. [ -f "$HOME/.config/shell/bashspecific" ] && source "$HOME/.config/shell/bashspecific"
  15. fi
  16. pfetch && echo $(vrms) | grep "non-free"