diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-11-17 17:53:26 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-11-17 17:53:26 +0100 |
commit | c6a3406f32bbc80e2e0ad389f5b837fb144cc4d3 (patch) | |
tree | d9539b5f44d17e3220af9b1eb51b309f385293c3 /composer.csh | |
parent | d51d132fd155657f2d2713624f3a905816d6d11c (diff) |
composer: add profile script
Diffstat (limited to 'composer.csh')
-rw-r--r-- | composer.csh | 9 |
1 files changed, 9 insertions, 0 deletions
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 + |