diff --git a/programs/zsh/default.nix b/programs/zsh/default.nix index 22b868ab..2bb7c39d 100644 --- a/programs/zsh/default.nix +++ b/programs/zsh/default.nix @@ -8,8 +8,12 @@ programs.zsh = { enable = true; enableAutosuggestions = true; + autocd = true; dotDir = ".config/zsh"; - history.path = "\$HOME/.config/zsh/zsh_history"; + history = { + expireDuplicatesFirst = true; + path = "\$HOME/.config/zsh/zsh_history"; + }; oh-my-zsh = { enable = true; plugins = [