5 setopt EXTENDED_HISTORY # add a timestamp and the duration of each command
6 setopt SHARE_HISTORY # _all_ zsh sessions share the same history files
7 setopt HIST_IGNORE_ALL_DUPS # ignores duplications
9 HISTFILE=~/.zsh/histories/${$(hostname)//.*/}
13 export HISTFILE HISTSIZE SAVEHIST