aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-08-18 22:08:58 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-08-18 22:08:58 +0200
commit8bd4a683293b6fdfffe6f457cd6a622a9fbd2356 (patch)
tree1d2206f56e85bdc3c8a5bb79c0e520a220e351a4
parentcfc6148c4e7a3bb85dcb9cb7702af282ad7969a5 (diff)
downloaddotfiles-8bd4a683293b6fdfffe6f457cd6a622a9fbd2356.tar.gz
dotfiles-8bd4a683293b6fdfffe6f457cd6a622a9fbd2356.zip
fix(zsh): put ~/go/bin first on PATH
-rw-r--r--modules/home/zsh.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index 1c114b2..49e13ae 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -48,10 +48,11 @@ in
# Set the list of directories that zsh searches for commands.
path=(
+ # Keep go-installed binaries highest priority.
+ $HOME/go/bin(N)
$HOME/{,s}bin(N)
$HOME/.local/{,s}bin(N)
$HOME/.cargo/bin(N)
- $HOME/go/bin(N)
/Library/Frameworks/Firebird.framework/Resources/bin(N)
/opt/homebrew/opt/libpq/bin(N)
/opt/homebrew/opt/rustup/bin(N)