all repos — nixfiles @ 25e085ea010118b9a73f385f9c6dc8dd1b06dc8f

System and user configuration, managed by nix and home-manager

zsh: prefer user custom bin folder in path
Alan Pearce alan@alanpearce.eu
Tue, 16 Jun 2020 17:36:51 +0200
commit

25e085ea010118b9a73f385f9c6dc8dd1b06dc8f

parent

986e34637a0b15e7c02ebef14f73585583a5bcbd

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -238,7 +238,7 @@     envExtra = ''
       if [[ ''${path[(I)$HOME/.local/bin ]} ]]
       then
-        path+=($HOME/.local/bin)
+        path=($HOME/.local/bin $path)
       fi
 
       if [[ ''${path[(I)$HOME/go/bin ]} ]]