about summary refs log tree commit diff stats
path: root/home-manager/config/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/zsh/default.nix')
-rw-r--r--home-manager/config/zsh/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 533c8b17..94dea060 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -42,7 +42,7 @@
         eval $(ssh-agent -s) > /dev/null # start ssh agent
         export ENHANCHED_NEOFETCH="$(pacman -Qn | wc -l) (pacman), $(pacman -Qm | wc -l) (aur), $(($(cargo install --list | wc -l ) / 2)) (cargo)"
       ''
-      + lib.concatStringsSep "setopt" [
+      + lib.concatStringsSep "\nsetopt " [
         "AUTO_CD"
         "AUTO_PUSHD"
         "CHASE_DOTS"
@@ -80,10 +80,9 @@
       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 = [
-        "\${PATH}:/home/dt/repos/shell/scripts"
+      PATH = lib.concatStringsSep ":" [
         "/home/dt/.local/bin"
-        "/home/dt/.local/share/cargo/bin/"
+        "/home/dt/.local/share/cargo/bin"
       ];
       EDITOR = "nvim";
       IVIEWER = "imv";