Browse Source

Do not remove superfluous blanks from events

Recording superflous blanks is useful when indenting multiline commands.
master
Sorin Ionescu 13 years ago
parent
commit
e35d6b984a
  1. 1
      modules/history/README.md
  2. 1
      modules/history/init.zsh

1
modules/history/README.md

@ -23,7 +23,6 @@ Options
- `HIST_FIND_NO_DUPS` does not display a previously found event. - `HIST_FIND_NO_DUPS` does not display a previously found event.
- `HIST_IGNORE_SPACE` does not record an event starting with a space. - `HIST_IGNORE_SPACE` does not record an event starting with a space.
- `HIST_SAVE_NO_DUPS` does not write a duplicate event to the history file. - `HIST_SAVE_NO_DUPS` does not write a duplicate event to the history file.
- `HIST_REDUCE_BLANKS` removes superfluous blanks before recording an event.
- `HIST_VERIFY` does not execute immediately upon history expansion. - `HIST_VERIFY` does not execute immediately upon history expansion.
- `HIST_BEEP` beeps when accessing non-existent history. - `HIST_BEEP` beeps when accessing non-existent history.

1
modules/history/init.zsh

@ -20,7 +20,6 @@ setopt HIST_IGNORE_ALL_DUPS # Delete an old recorded event if a new event i
setopt HIST_FIND_NO_DUPS # Do not display a previously found event. setopt HIST_FIND_NO_DUPS # Do not display a previously found event.
setopt HIST_IGNORE_SPACE # Do not record an event starting with a space. setopt HIST_IGNORE_SPACE # Do not record an event starting with a space.
setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file.
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording an event.
setopt HIST_VERIFY # Do not execute immediately upon history expansion. setopt HIST_VERIFY # Do not execute immediately upon history expansion.
setopt HIST_BEEP # Beep when accessing non-existent history. setopt HIST_BEEP # Beep when accessing non-existent history.

Loading…
Cancel
Save