From 8530a3dfa491b8ba900abcabdf70b1315bc78143 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 15 Feb 2020 11:48:10 +0100 Subject: [PATCH] More zsh settings --- programs/zsh/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = [