diff --git a/README.md b/README.md index 9dd55b9d60..8b508e7af2 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ cd some-dir composer require drupal/devel:8.* ``` +If you are adding command line tools like Drush through composer, you can add +them to your shell's path by running `shell.sh` in the project's root +directory. + ## What does the template do? When installing the given `composer.json` some tasks are taken care of: diff --git a/shell.sh b/shell.sh new file mode 100755 index 0000000000..96a207eb96 --- /dev/null +++ b/shell.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "Starting a new shell at $SHELL with $(pwd)/vendor/bin added to it's path." +echo "Exit the shell to remove the path directory." +PATH=$(pwd)/vendor/bin:$PATH $SHELL