Omit commands from history that start with a space

This commit is contained in:
Sami Samhuri 2024-12-16 08:56:26 -08:00
parent 9ef8e38aec
commit e7e599fef1
No known key found for this signature in database

1
zshrc
View file

@ -154,6 +154,7 @@ setopt histfindnodups # backwards search produces diff result each time
setopt histreduceblanks # compact consecutive white space chars (cool) setopt histreduceblanks # compact consecutive white space chars (cool)
setopt histnostore # don't store history related functions setopt histnostore # don't store history related functions
setopt incappendhistory # incrementally add items to HISTFILE setopt incappendhistory # incrementally add items to HISTFILE
setopt histignorespace # omit from history commands that start with a space
### Job Control ### Job Control
# ---------------- # ----------------