Home

Awesome

NO LONGER ACTIVELY SUPPORTED.

Feel free to submit a PR and I can review it as I have time, but I no longer use Lando full time and do not plan to actively support this tool.

Lando ZSH (lando-zsh)

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)

ALIASES:

AliasDescription
artisanlando artisan
composerlando composer
drushlando drush
gulplando gulp
npmlando npm
wplando wp
yarnlando yarn

How It Works:

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:

Settings:

The plugin will utilize the default values. Set the variable(s) below as needed in your .zshrc file to change these default values to match your development environment. (E.G. Add LANDO_ZSH_SITES_DIRECTORY=~/Projects to .zshrc)

Author:

Credit: A major thank you deserved to Marc Cornellà for making this plugin far more efficient.