summaryrefslogtreecommitdiff
path: root/plugins/lando/lando.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lando/lando.plugin.zsh')
-rw-r--r--plugins/lando/lando.plugin.zsh19
1 files changed, 11 insertions, 8 deletions
diff --git a/plugins/lando/lando.plugin.zsh b/plugins/lando/lando.plugin.zsh
index b5fa80092..ee796d212 100644
--- a/plugins/lando/lando.plugin.zsh
+++ b/plugins/lando/lando.plugin.zsh
@@ -1,16 +1,19 @@
# Settings
: ${LANDO_ZSH_SITES_DIRECTORY:="$HOME/Sites"}
: ${LANDO_ZSH_CONFIG_FILE:=.lando.yml}
+: ${LANDO_ZSH_WRAPPED_COMMANDS:="
+ artisan
+ composer
+ drush
+ gulp
+ npm
+ php
+ wp
+ yarn
+"}
# Enable multiple commands with lando.
-function artisan \
- composer \
- drush \
- gulp \
- npm \
- php \
- wp \
- yarn {
+function ${=LANDO_ZSH_WRAPPED_COMMANDS} {
# If the lando task is available in `lando --help`, then it means:
#
# 1. `lando` is in a project with a `.lando.yml` file.