summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-23 17:08:37 +0200
committerAlan Pearce2019-10-23 17:08:37 +0200
commitbbd4b643355d203747bf527893e00453b4d6c665 (patch)
tree82c783a45b218cda2ff2c0c502fd5223890cd5be
parent2de9b6d8556917294c2e56daae2138ebf1517767 (diff)
downloadnixfiles-bbd4b643355d203747bf527893e00453b4d6c665.tar.lz
nixfiles-bbd4b643355d203747bf527893e00453b4d6c665.tar.zst
nixfiles-bbd4b643355d203747bf527893e00453b4d6c665.zip
zsh: don't record commands starting with spaces
-rw-r--r--user/zsh/.config/zsh/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc
index f20c3825..23219e75 100644
--- a/user/zsh/.config/zsh/.zshrc
+++ b/user/zsh/.config/zsh/.zshrc
@@ -1,4 +1,5 @@
 # -*- mode: sh; -*-
+setopt hist_ignore_space
 setopt inc_append_history_time
 setopt transient_rprompt