Permalink
Browse files

Self appending history

  • Loading branch information...
1 parent 8cd3d35 commit 93fb00c815983bf5a588d1f34c034647b262e6a2 @mrsimo committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bash/bash.symlink/prompt
@@ -69,7 +69,7 @@ export LSCOLORS="exfxcxdxbxegedabagacad"
export PS1="${PURPLE}\$(rvm_prompt)${BGREEN}\$(git_prompt_info)${BBLUE}[${NORMAL}\w${BBLUE}] ${CYAN}\$(is_the_xing_on)${BBLUE}$ ${NORMAL}"
# Window title
-export PROMPT_COMMAND='echo -ne "\033]0;$XE ${PWD/#$HOME/~}\007"'
+export PROMPT_COMMAND='history -n; history -a; echo -ne "\033]0;$XE ${PWD/#$HOME/~}\007"'
export TERM="xterm-color"
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

0 comments on commit 93fb00c

Please sign in to comment.