Commit e49a56fa authored by Tim McNamara's avatar Tim McNamara

Add rc-files.md

parent e8ffd14b
## .bashrc
Hat tip: https://sanctum.geek.nz/arabesque/better-bash-history
```bash
# python
if [-x /usr/share/virtualenvwrapper ]; then
export WORKON_HOME=~/.venv
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
fi
# misc
export GPGKEY=BD4F8CAC
export GPG_TTY=$(tty)
export XDG_CONFIG_HOME=${HOME}
export WORKON_HOME=~/.venv
export PATH=
# history
shopt -s histappend
shopt -s cmdhist
export HISTFILESIZE=10000000 # 10 mb
export HISTSIZE=1000000 # 1 million
export HISTCONTROL=ignoreboth
export HISTIGNORE='ls:bg:fg:history'
export HISTTIMEFORMAT='%F %T '
# prompt
export PROMPT_DIRTERM=4
export PS1="[\D{%Y-%m-%d %H:%M:%S}] `whoami`@\h:\w`tput sgr0`\n$ "
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment