X-Git-Url: http://105106.c2e0p.group/dotfiles.git/blobdiff_plain/7db6359521ae4d3e6435fe23e097c23926a9ef5f..b165edaf9a28756eeca5bdc594b0baa1983d9f32:/bash_login diff --git a/bash_login b/bash_login index 96b42af..72a9ca9 100644 --- a/bash_login +++ b/bash_login @@ -1,5 +1,7 @@ #!/bin/bash +export INPUTRC=~/.dotfiles/inputrc + function short_pwd() { local PWD=${PWD/#$HOME/\~}; @@ -13,9 +15,17 @@ export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:- export PATH=~/bin:$PATH export MANPATH=~/man:$MANPATH -source ~/.aliases +source ~/.dotfiles/aliases export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad -source ~/.webkit_login +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"