bash
[bashrc]
alias a="alias"
alias l="screen -list"
alias x="screen -x"
alias S="screen -S"
# ctrl-s undefine
stty stop undef
# history
HISTTIMEFORMAT='%Y-%m-%d %T ';
export HISTSIZE=40000
export FILESIZE=40000
function share_history {
history -a
history -c
history -r
}
PROMPT_COMMAND='share_history'
shopt -u histappend