summaryrefslogtreecommitdiff
path: root/composer.csh
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-04 03:26:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-04 03:26:47 +0000
commit3e042b3852d909b9a3f0f985e83a58ec332dfad4 (patch)
tree48f9ac356c83a8f8c36e5fde8754722c965f61f3 /composer.csh
parentd8522a1aafc5b1a66f3c5c59665cf84c6a2eac26 (diff)
automatic import of composeropeneuler23.03
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
+