.zshrc.pre 840 B

123456789101112131415161718
  1. # .zshrc.pre
  2. #
  3. # Sourced by grml before its own defaults, and after /etc/zshrc.
  4. ### History ###
  5. export HISTFILE=~/.histfile
  6. HISTSIZE=999999999
  7. SAVEHIST=$HISTSIZE
  8. setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format.
  9. setopt SHARE_HISTORY # Share history between all sessions.
  10. setopt HIST_IGNORE_DUPS # Don\'t record an entry that was just recorded again.
  11. setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate.
  12. setopt HIST_FIND_NO_DUPS # Do not display a line previously found.
  13. setopt HIST_IGNORE_SPACE # Don\'t record an entry starting with a space.
  14. setopt HIST_SAVE_NO_DUPS # Don\'t write duplicate entries in the history file.
  15. setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry.