owenrusk.dev

dotfiles

shell, editor, ssh.

git clone https://owenrusk.dev/dotfiles.git

commit 5e30fd5bdee7f60399d1ad0826d190510c2bd946
parent 2a3ef7f9d2be1fa8668ee7d5ff4275ec2ab72687
author Owen Rusk <owen@papermothgames.com>
date   2026-05-27 17:45:24 -0500
zsh: a leading space keeps a command out of history
zsh/zshrc+1-1
diff --git a/zsh/zshrc b/zsh/zshrc
index 32c7673..cc1a779 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -3,7 +3,7 @@
 HISTFILE=~/.zsh_history
 HISTSIZE=50000
 SAVEHIST=50000
-setopt share_history hist_ignore_dups hist_reduce_blanks extended_history
+setopt share_history hist_ignore_dups hist_ignore_space hist_reduce_blanks extended_history
 setopt auto_cd interactive_comments no_beep
 unsetopt flow_control   # ctrl-s is for searching, not for freezing the terminal