From d3dac8feb61dffb7e15d37fe36cd13f99c59748c Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Fri, 25 Dec 2015 13:13:47 +0100 Subject: [PATCH] Add composer bin to path. --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 2bb7bd6..f9507eb 100644 --- a/zshrc +++ b/zshrc @@ -26,6 +26,11 @@ elif [[ -s /etc/zsh_command_not_found ]]; then source /etc/zsh_command_not_found fi +# Add Composer binaries +if [ -d "$HOME/.composer" ]; then + path+=("$HOME/.composer/vendor/bin") +fi + # History search autoload -U history-search-end bindkey -v