about summary refs log tree commit diff stats
path: root/home-manager/config/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/zsh/default.nix8
1 files changed, 4 insertions, 4 deletions
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";