Common history in tcsh

~/.tcshrc

set history=10000
set savehist=(10000 merge lock)
set histfile=~/.tcsh_history
set histdup=erase

alias precmd 'history -S ; history -L'