dotfiles/.bashrc_local
2022-07-01 07:11:38 +02:00

18 lines
479 B
Text

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