Skip to content
Myr

nvm_install_with_aliased_dot

This file

Path

test/install_script/nvm_install_with_aliased_dot

24 lines · 454 bytes

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 5c12680 point at it.

[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680

lines 1–24why, one step back
1#!/bin/sh
23setup() {4 # Needed to avoid to checkout the repo to the latest nvm version, losing the commits of the current PR5 unset NVM_DIR6 shopt -s expand_aliases7 alias .=':'8 NVM_ENV=testing \. ../../install.sh > /dev/null9}1011cleanup () {12 unset -f setup cleanup die13 unalias .14 shopt -u expand_aliases15}1617die () { echo "$@"; cleanup; exit 1; }1819setup2021nvm_do_install > /dev/null 2>&122command -v nvm || die 'nvm could not be loaded'2324cleanup