zsh:settings: Set HIST_REDUCE_BLANKS
Remove superfluous blanks from each command line being added to the history list.
This commit is contained in:
@@ -131,6 +131,10 @@ fi
|
|||||||
setopt HIST_IGNORE_SPACE
|
setopt HIST_IGNORE_SPACE
|
||||||
|
|
||||||
# Remove function definitions from the history list. Note that the function
|
# Remove function definitions from the history list. Note that the function
|
||||||
|
# lingers in the internal history until the next command is entered before
|
||||||
|
# it vanishes, allowing you to briefly reuse or edit the definition.
|
||||||
|
setopt HIST_NO_FUNCTIONS
|
||||||
|
|
||||||
# Remove superfluous blanks from each command line being added to the
|
# Remove superfluous blanks from each command line being added to the
|
||||||
# history list.
|
# history list.
|
||||||
setopt HIST_REDUCE_BLANKS
|
setopt HIST_REDUCE_BLANKS
|
||||||
|
|||||||
Reference in New Issue
Block a user