Joshua Bedford a4e68967a4 feat(lando): add support for `php` command (#10146) | 3 年之前 | |
---|---|---|
.. | ||
LICENSE | 4 年之前 | |
README.md | 4 年之前 | |
lando.plugin.zsh | 3 年之前 |
This plugin adds aliases for using various languages and frameworks with Lando for Docker. It will only run within lando-driven project directories.
To use it, add lando
to the plugins array in your zshrc file:
plugins=(... lando)
Alias | Description |
---|---|
artisan |
lando artisan |
composer |
lando composer |
drush |
lando drush |
gulp |
lando gulp |
npm |
lando npm |
wp |
lando wp |
yarn |
lando yarn |
This plugin removes the requirement to type lando
before a command. It utilizes the lando version of supported commands run within directories with the following criteria:
.lando.yml
file is found in the current directory or any parent directory within $LANDO_ZSH_SITES_DIRECTORY
.$LANDO_ZSH_SITES_DIRECTORY
but is not $LANDO_ZSH_SITES_DIRECTORY
itself.LANDO_ZSH_SITES_DIRECTORY
: The plugin will stop searching through parents for CONFIG_FILE
once it hits this directory.LANDO_ZSH_CONFIG_FILE
: The plugin will check to see if this provided file exists to check for presence of Lando.