mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 23:19:25 +00:00
general: Miscellaneous documentation updates
- Add missing documentation for options and environment variables - Rearrange definition and documentation of 'Options', 'Variables' and 'Aliases' in a consistent order
This commit is contained in:
@ -3,13 +3,6 @@ History
|
||||
|
||||
Sets [history][1] options and defines history aliases.
|
||||
|
||||
Variables
|
||||
---------
|
||||
|
||||
- `HISTFILE` stores the path to the history file.
|
||||
- `HISTSIZE` stores the maximum number of events to save in the internal history.
|
||||
- `SAVEHIST` stores the maximum number of events to save in the history file.
|
||||
|
||||
Options
|
||||
-------
|
||||
|
||||
@ -26,6 +19,13 @@ Options
|
||||
- `HIST_VERIFY` does not execute immediately upon history expansion.
|
||||
- `HIST_BEEP` beeps when accessing non-existent history.
|
||||
|
||||
Variables
|
||||
---------
|
||||
|
||||
- `HISTFILE` stores the path to the history file.
|
||||
- `HISTSIZE` stores the maximum number of events to save in the internal history.
|
||||
- `SAVEHIST` stores the maximum number of events to save in the history file.
|
||||
|
||||
Aliases
|
||||
-------
|
||||
|
||||
|
@ -6,14 +6,6 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
#
|
||||
# Variables
|
||||
#
|
||||
|
||||
HISTFILE="${ZDOTDIR:-$HOME}/.zhistory" # The path to the history file.
|
||||
HISTSIZE=10000 # The maximum number of events to save in the internal history.
|
||||
SAVEHIST=10000 # The maximum number of events to save in the history file.
|
||||
|
||||
#
|
||||
# Options
|
||||
#
|
||||
@ -31,6 +23,14 @@ setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history
|
||||
setopt HIST_VERIFY # Do not execute immediately upon history expansion.
|
||||
setopt HIST_BEEP # Beep when accessing non-existent history.
|
||||
|
||||
#
|
||||
# Variables
|
||||
#
|
||||
|
||||
HISTFILE="${ZDOTDIR:-$HOME}/.zhistory" # The path to the history file.
|
||||
HISTSIZE=10000 # The maximum number of events to save in the internal history.
|
||||
SAVEHIST=10000 # The maximum number of events to save in the history file.
|
||||
|
||||
#
|
||||
# Aliases
|
||||
#
|
||||
|
Reference in New Issue
Block a user