Skip to content
Snippets Groups Projects
Commit db604eb7 authored by jurgenhaas's avatar jurgenhaas
Browse files

Define CDPATH env variable to allow easy cd'ing into project directories

Add /drupal/vendor/bin to the PATH env variable
parent 726373ba
No related branches found
No related tags found
1 merge request!36Merging develop into main
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment