From db604eb71ab4f2b7efc03df3ef5c0ee209cb9be1 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Sun, 31 Dec 2023 13:38:56 +0100 Subject: [PATCH] Define CDPATH env variable to allow easy cd'ing into project directories Add /drupal/vendor/bin to the PATH env variable --- start.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/start.sh b/start.sh index 5721fc6..31f57d9 100755 --- a/start.sh +++ b/start.sh @@ -19,6 +19,8 @@ function readEnv { # shellcheck disable=SC2002 export $(cat .env | xargs) > /dev/null 2>&1 fi + export CDPATH=/drupal/web/modules/contrib:/drupal/web/modules/custom:/drupal/web/profiles/contrib:/drupal/web/profiles/custom:/drupal/web/themes/contrib:/drupal/web/themes/custom + export PATH=$PATH:/drupal/vendor/bin } function truncateCurrentDirectory { -- GitLab