2 : ${LANDO_ZSH_SITES_DIRECTORY:="$HOME/Sites"}
3 : ${LANDO_ZSH_CONFIG_FILE:=.lando.yml}
5 # Enable multiple commands with lando.
14 if checkForLandoFile; then
21 # Check for the file in the current and parent directories.
23 # Only bother checking for lando within the Sites directory.
24 if [[ "$PWD/" != "$LANDO_ZSH_SITES_DIRECTORY"/* ]]; then
25 # Not within $LANDO_ZSH_SITES_DIRECTORY
30 # Checking for file: $LANDO_ZSH_CONFIG_FILE within $LANDO_ZSH_SITES_DIRECTORY...
31 while [[ "$curr_dir" != "$LANDO_ZSH_SITES_DIRECTORY" ]]; do
32 if [[ -f "$curr_dir/$LANDO_ZSH_CONFIG_FILE" ]]; then
35 curr_dir="${curr_dir:h}"
38 # Could not find $LANDO_ZSH_CONFIG_FILE in the current directory
39 # or in any of its parents up to $LANDO_ZSH_SITES_DIRECTORY.