summaryrefslogtreecommitdiffstats
path: root/composer.csh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-17 17:53:26 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-17 17:53:26 +0100
commitc6a3406f32bbc80e2e0ad389f5b837fb144cc4d3 (patch)
treed9539b5f44d17e3220af9b1eb51b309f385293c3 /composer.csh
parentd51d132fd155657f2d2713624f3a905816d6d11c (diff)
composer: add profile script
Diffstat (limited to 'composer.csh')
-rw-r--r--composer.csh9
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
+