1234567891011121314151617 |
- setopt extendedhistory
- setopt sharehistory
- setopt histignorealldups
- HISTDIR=$DOTZSHDIR/history
- [ ! -d $HISTDIR ] && mkdir -p $HISTDIR
- HISTFILE=$HISTDIR/history
- HISTSIZE=1000000
- SAVEHIST=1000000
- export HISTFILE HISTSIZE SAVEHIST
- unset HISTDIR
|