Skip to content

Commit

Permalink
lando will now install in ~/.lando/bin by default part 8
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Nov 22, 2024
1 parent 72bb44b commit 62dd7c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/lando
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
const args = process.argv.slice(2);

// if we have "shellenv" then spoof
if (args.includes('shellenv')) console.log('export PATH="/Users/pirog/.lando/bin${PATH+:$PATH}";');
if (args.includes('shellenv')) console.log('export PATH="$HOME/.lando/bin${PATH+:$PATH}";');
// otherwise just go for version
else console.log('v3.100.999-babylon.5');
4 changes: 1 addition & 3 deletions setup-lando.sh
Original file line number Diff line number Diff line change
Expand Up @@ -787,9 +787,7 @@ if [[ -z "${NONINTERACTIVE-}" ]]; then
# sudo prompt
if needs_sudo; then log "- ${tty_green}prompt${tty_reset} for ${tty_bold}sudo${tty_reset} password"; fi
# download
if [[ $URL != file://* ]]; then log "- ${tty_magenta}download${tty_reset} lando ${tty_bold}${HRV}${tty_reset} to ${tty_bold}${DEST}${tty_reset}"
# or move
else log "- ${tty_magenta}move${tty_reset} lando ${tty_bold}${ORIGINAL_VERSION}${tty_reset} to ${tty_bold}${DEST}${tty_reset}"; fi
log "- ${tty_magenta}download${tty_reset} lando ${tty_bold}${HRV}${tty_reset} to ${tty_bold}${DEST}${tty_reset}"
# setup
if [[ "$SETUP" == "1" ]]; then log "- ${tty_blue}run${tty_reset} ${tty_bold}lando setup${tty_reset}"; fi
# shellenv
Expand Down

0 comments on commit 62dd7c1

Please sign in to comment.