diff options
Diffstat (limited to 'zsh/default.nix')
| -rw-r--r-- | zsh/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zsh/default.nix b/zsh/default.nix index f7c5f26..1951933 100644 --- a/zsh/default.nix +++ b/zsh/default.nix @@ -1,8 +1,9 @@ -{ ... }: +{ config, ... }: { programs.zsh.enable = true; programs.zsh.dotDir = ".config/zsh"; - programs.zsh.history.path = "$HOME/.cache/zsh/history"; + programs.zsh.history.path = "${config.xdg.cacheHome}/zsh/history"; programs.zsh.initExtra = builtins.readFile ./zshrc; + programs.zsh.shellAliases = config.programs.bash.shellAliases; } |
