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.

11 lines
389 B

  1. #!/bin/bash
  2. shopt -s autocd
  3. set -o vi
  4. stty -ixon # Disable ctrl-s and ctrl-q.
  5. export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\[$(tput sgr0)\]\\$ "
  6. HISTSIZE=10000
  7. SAVEHIST=10000
  8. HISTFILE=~/.cache/shhistory
  9. source "$HOME/.config/aliasrc" 2>/dev/null # Load aliases