.bashrc_local 479 B

123456789101112131415161718
  1. # remember more commands
  2. HISTSIZE=200000
  3. # add timestamps to history entries
  4. HISTTIMEFORMAT="%d.%m.%Y %H:%M %Z # "
  5. # 256-color terminal if available
  6. export TERM=xterm-256color
  7. export WORKON_HOME=$HOME/virtualenvs
  8. export PROJECT_HOME=$HOME/git
  9. [ -f /usr/local/bin/virtualenvwrapper.sh ] && source /usr/local/bin/virtualenvwrapper.sh
  10. PATH=$PATH:~/bin:/usr/local/opt/python@3.7/bin
  11. parse_git_branch() {
  12. git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  13. }