diff --git a/layers/zsh.nix b/layers/zsh.nix
index 31ef9ec134740910bd4d3871122844420dc0f64c..f7fdd129565088ba7c5fe6fd7edd3fdfabb33dbe 100644
--- a/layers/zsh.nix
+++ b/layers/zsh.nix
@@ -85,6 +85,8 @@ in
     "hist_ignore_all_dups"
     "inc_append_history"
     "hist_fcntl_lock"
+    "hist_ignore_space"
+    "hist_reduce_blanks"
   ];
 
   programs.zsh.shellInit = ''