shopt -s histappend PROMPT_COMMAND="history -a;$PROMPT_COMMAND" HISTSIZE=-1 HISTFILESIZE=-1