summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-23 15:31:24 +0800
committerZhineng Li <im@zhineng.li>2026-07-23 15:31:24 +0800
commit88bb7528c6b106ca770365ee368db9d167e96c30 (patch)
tree0017003ce86099cfb5c2c678b0e347e2f1f535ca
parent50d9b183fcd9c3dafa9cb0efd2c1a06e52a20a72 (diff)
downloaddotfiles-88bb7528c6b106ca770365ee368db9d167e96c30.tar.gz
dotfiles-88bb7528c6b106ca770365ee368db9d167e96c30.zip
include Composer binary path if possible
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 1656a47..77bbcc6 100644
--- a/.zshrc
+++ b/.zshrc
@@ -33,6 +33,9 @@ alias update='sudo softwareupdate -diaR && brew update && brew upgrade && brew a
alias help='tldr'
alias q='exit'
+# PHP dependency manger
+[[ -d "$HOME/.composer/vendor/bin" ]] && export PATH="$HOME/.composer/vendor/bin:$PATH"
+
# Node version manager
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"