Add composer bin folder to path

This commit is contained in:
Vladimir Safonkin
2020-02-10 19:39:58 +03:00
parent 27e3bad4a2
commit 43df46b611
2 changed files with 6 additions and 0 deletions

View File

@@ -276,6 +276,9 @@ php composer-setup.php
sudo mv composer.phar /usr/bin/composer
php -r "unlink('composer-setup.php');"
# Add composer bin folder to path
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> /etc/skel/.bashrc
# Install phpunit (for PHP)
wget -q -O phpunit https://phar.phpunit.de/phpunit-7.phar
chmod +x phpunit