my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB

3 years ago
  1. # Lando ZSH (lando-zsh)
  2. This plugin adds aliases for using various languages and frameworks with [Lando](https://docs.lando.dev/basics/) for Docker. It will only run within lando-driven project directories.
  3. To use it, add `lando` to the plugins array in your zshrc file:
  4. ```zsh
  5. plugins=(... lando)
  6. ```
  7. ## ALIASES:
  8. | Alias | Description |
  9. |:----------:|:----------------:|
  10. | `artisan` | `lando artisan` |
  11. | `composer` | `lando composer` |
  12. | `drush` | `lando drush` |
  13. | `gulp` | `lando gulp` |
  14. | `npm` | `lando npm` |
  15. | `wp` | `lando wp` |
  16. | `yarn` | `lando yarn` |
  17. ## How It Works:
  18. 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:
  19. - The `.lando.yml` file is found in the current directory or any parent directory within `$LANDO_ZSH_SITES_DIRECTORY`.
  20. - The current directory is within `$LANDO_ZSH_SITES_DIRECTORY` but is not `$LANDO_ZSH_SITES_DIRECTORY` itself.
  21. ## Settings:
  22. - `LANDO_ZSH_SITES_DIRECTORY`: The plugin will stop searching through parents for `CONFIG_FILE` once it hits this directory.
  23. - `LANDO_ZSH_CONFIG_FILE`: The plugin will check to see if this provided file exists to check for presence of Lando.
  24. ## Author:
  25. - Author: Joshua Bedford
  26. - URL: [https://github.com/joshuabedford/lando-zsh](https://github.com/joshuabedford/lando-zsh)