diff --git a/profile b/profile index be4f06f..94996a7 100644 --- a/profile +++ b/profile @@ -7,7 +7,12 @@ if command -v ruby ; then export PATH="$ruby_path:$PATH" fi &> /dev/null -export PATH="$PATH:$HOME/.local/bin:$ruby_path" +if command -v php ; then + phpcs_path=$(composer global config bin-dir --absolute) + export PATH="$phpcs_path:$PATH" +fi &> /dev/null + +export PATH="$PATH:$HOME/.local/bin" # https://developers.google.com/web/tools/puppeteer/troubleshooting export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox