summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2026-03-25 17:35:38 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commit2eadef7687b8159e93f3bbb4599211c7c52fda8a (patch)
tree0600cb5a3eabf2aefbed80c66cf5585b2321a88a
parentb3abea43871c3fba91a0470e72ca8fe0f0f83ce3 (diff)
feat(zsh): add local bin to path for mac
-rw-r--r--dot_zshrc.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 672fc56..255f9ad 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -21,6 +21,11 @@ setopt autocd # Automatically cd into typed directory.
stty stop undef # Disable ctrl-s to freeze terminal.
setopt interactive_comments
+{{ if eq .chezmoi.os "darwin" }}
+# Add /usr/local/bin to $PATH (Macbook doesn't have this by default?)
+export PATH="/usr/local/bin/:$PATH"
+{{ end -}}
+
# Add ~/.local/bin to $PATH
export PATH="$PATH:$HOME/.local/bin"