summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-06-16 17:36:51 +0200
committerAlan Pearce2020-06-16 17:36:51 +0200
commit25e085ea010118b9a73f385f9c6dc8dd1b06dc8f (patch)
treefcc2e1bf46f8b5e83889164ae8452de8e7c5f890 /user
parent986e34637a0b15e7c02ebef14f73585583a5bcbd (diff)
downloadnixfiles-25e085ea010118b9a73f385f9c6dc8dd1b06dc8f.tar.lz
nixfiles-25e085ea010118b9a73f385f9c6dc8dd1b06dc8f.tar.zst
nixfiles-25e085ea010118b9a73f385f9c6dc8dd1b06dc8f.zip
zsh: prefer user custom bin folder in path
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index d5bdaf5c..b838e2bc 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -238,7 +238,7 @@ in
     envExtra = ''
       if [[ ''${path[(I)$HOME/.local/bin ]} ]]
       then
-        path+=($HOME/.local/bin)
+        path=($HOME/.local/bin $path)
       fi
 
       if [[ ''${path[(I)$HOME/go/bin ]} ]]