summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"