diff options
author | ene <ene@sils.li> | 2023-02-25 15:34:14 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 15:34:14 +0100 |
commit | c98e13e42a4043b5c58fbe051c16b47a1198d9a1 (patch) | |
tree | 7119c223646d591c1850e8b79033991a8c4dc533 /home-manager/config/zsh/default.nix | |
parent | Fix(zsh): Make deployment possible (diff) | |
download | nixos-config-c98e13e42a4043b5c58fbe051c16b47a1198d9a1.tar.gz nixos-config-c98e13e42a4043b5c58fbe051c16b47a1198d9a1.zip |
Fix(zsh): Add to path, not replace it
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/zsh/default.nix | 8 |
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"; |