summaryrefslogtreecommitdiffstats
path: root/composer.sh
blob: c75753c2d75145b4d0ae5daa008aad7a03e4ff2b (plain)
1
2
3
4
5
6
7
8
9
10
11
# Composer initialization script

# Add path to commands installed using "composer global require ..."
if [ "${EUID:-0}" != "0" ]; then
  case :$PATH: in
    *:${HOME}/.composer/vendor/bin:*) ;;
    *) PATH=$PATH:${HOME}/.composer/vendor/bin ;;
  esac
  export PATH
fi