From c98e13e42a4043b5c58fbe051c16b47a1198d9a1 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 25 Feb 2023 15:34:14 +0100 Subject: Fix(zsh): Add to path, not replace it --- home-manager/config/zsh/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'home-manager') diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix index 94dea060..3230d771 100644 --- a/home-manager/config/zsh/default.nix +++ b/home-manager/config/zsh/default.nix @@ -8,6 +8,10 @@ # next one only works if your alias is only a command, e.g. if you `alias='cat some_file.txt &2> /dev/null'`, running `cat some_file.txt` won't trigger it. # TODO find something better for this use case # zsh-you-should-use # ZSH plugin that reminds you to use existing aliases for commands you just typed + home.sessionPath = [ + "/home/dt/.local/bin" + "/home/dt/.local/share/cargo/bin" + ]; programs.zsh = { enable = true; enableAutosuggestions = true; @@ -80,10 +84,6 @@ TIMEFMT = "'$fg[green]%J$reset_color' time: $fg[blue]%*Es$reset_color, cpu: $fg[blue]%P$reset_color"; # no idea what this does or why it is needed REPORTTIME = "10"; - PATH = lib.concatStringsSep ":" [ - "/home/dt/.local/bin" - "/home/dt/.local/share/cargo/bin" - ]; EDITOR = "nvim"; IVIEWER = "imv"; READER = "zathura"; -- cgit 1.4.1