mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-24 13:59:07 +00:00
History
Sets history options and defines history aliases.
VARIABLES
HISTFILEthe file to save the history in when an interactive shell exits.HISTSIZEthe maximum size of the history list.SAVEHISTthe maximum number of history events to save in the history file.
Options
BANG_HISTtreat the ! character specially during expansion.EXTENDED_HISTORYwrite the history file in the :start:elapsed;command format.INC_APPEND_HISTORYwrite to the history file immediately, not when the shell exits.SHARE_HISTORYshare history between all sessions.HIST_EXPIRE_DUPS_FIRSTexpire duplicate entries first when trimming history.HIST_IGNORE_DUPSdo not record an entry that was just recorded again.HIST_IGNORE_ALL_DUPSdelete old recorded entry if new entry is a duplicate.HIST_FIND_NO_DUPSdo not display a line previously found.HIST_IGNORE_SPACEdo not record an entry starting with a space.HIST_SAVE_NO_DUPSdo not write duplicate entries in the history file.HIST_REDUCE_BLANKSremove superfluous blanks before recording entry.HIST_VERIFYdo not execute immediately upon history expansion.HIST_BEEPbeep when accessing non-existent history.
Aliases
history-statlist the ten most used commands
Authors
The authors of this module should be contacted via the issue tracker.