From c6a3406f32bbc80e2e0ad389f5b837fb144cc4d3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Nov 2016 17:53:26 +0100 Subject: composer: add profile script --- composer.csh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 composer.csh (limited to 'composer.csh') diff --git a/composer.csh b/composer.csh new file mode 100644 index 0000000..b57b1d0 --- /dev/null +++ b/composer.csh @@ -0,0 +1,9 @@ +# Composer initialization script + +# Add path to commands installed using "composer global require ..." +if ( ${euid} > 0 ) then + if ( "${path}" !~ *${HOME}/.composer/vendor/bin* ) then + set path = ( $path ${HOME}/.composer/vendor/bin ) + endif +endif + -- cgit