bashrc 495 B

1234567891011121314151617181920212223
  1. source ~/dotfiles/shell/env
  2. # Only load interactive settings when in interactive shells.
  3. [[ $- != *i* ]] && return
  4. source ~/dotfiles/shell/common/load
  5. for file in ~/dotfiles/shell/bash/*.bash; do
  6. source $file
  7. done
  8. # Command Prompt
  9. #
  10. # [host] directory gitinfo jobinfo
  11. # user -
  12. #
  13. PROMPT_COMMAND='PS1="
  14. ${FG[6]}[\h] ${FG[3]}$(shortcwd)$(__gitp " %s")$(getajob)
  15. ${FG[5]}\u - $cReset"'
  16. [[ -r ~/.bashrc.local ]] && source ~/.bashrc.local
  17. [ -f ~/.fzf.bash ] && source ~/.fzf.bash