]> id.pley.net Git - dotfiles.git/blobdiff - bash_login
Update zsh options; remove opensource & internal aliases
[dotfiles.git] / bash_login
index cc21313f494455bb6343dadb0521d903b35c972b..72a9ca9243f5546527b4c4c9b2aeb505a5454c01 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
 #!/bin/bash
 
-export INPUTRC=~/etc/inputrc
+export INPUTRC=~/.dotfiles/inputrc
 
 function short_pwd()
 { 
 
 function short_pwd()
 { 
@@ -15,9 +15,17 @@ export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:-
 export PATH=~/bin:$PATH
 export MANPATH=~/man:$MANPATH
 
 export PATH=~/bin:$PATH
 export MANPATH=~/man:$MANPATH
 
-source ~/etc/aliases
+source ~/.dotfiles/aliases
 
 export EDITOR=/usr/bin/vim
 export LSCOLORS=gxfxcxdxbxegedabagacad
 
 
 export EDITOR=/usr/bin/vim
 export LSCOLORS=gxfxcxdxbxegedabagacad
 
-source ~/etc/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"