diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index ca49d4a..77fc877 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -123,15 +123,14 @@ in }; }; extraRC = '' - HISTFILE=$HOME/.zsh_history - HISTORY_IGNORE=${lib.escapeShellArg "(${lib.concatStringsSep "|" ignorePatterns})"} - - HOSTNAME=$(hostname -s) - ${homeEndKeyBindings} eval "$(direnv hook zsh)" + HISTFILE=$HOME/.zsh_history + HISTORY_IGNORE=${lib.escapeShellArg "(${lib.concatStringsSep "|" ignorePatterns})"} + + HOSTNAME=$(hostname -s) ${aliasStr} ''; extraPackages = with pkgs; [