X-Git-Url: http://id.pley.net/dotfiles.git/blobdiff_plain/ed8541de7d4f482f7c0bf55bd5a361a15ff48ba5..91472a5c8a7df18b103566cc62fadaa397b115da:/bash_login?ds=sidebyside diff --git a/bash_login b/bash_login index 891551c..72a9ca9 100644 --- a/bash_login +++ b/bash_login @@ -15,9 +15,17 @@ export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:- export PATH=~/bin:$PATH export MANPATH=~/man:$MANPATH -source ~/etc/aliases +source ~/.dotfiles/aliases export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad source ~/.dotfiles/webkit_login + +# Preserve bash history in multiple terminal windows +# http://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows +export HISTSIZE=10000 +export HISTFILESIZE=10000 +export HISTCONTROL=ignoredups:erasedups +shopt -s histappend +export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"