shell-host/lang/fnm/fnm.inst

9 lines
346 B
Bash
Executable File

#!/bin/bash
if command -v fnm >/dev/null 2>&1; then
mkdir -p $BASH_SHELL_HOSTNAME/load/coding
ln -s $BASH_SHELL_HOST/lang/fnm/fnm.env $BASH_SHELL_HOSTNAME/load/coding/00-fnm.env
ln -s $BASH_SHELL_HOST/lang/node $BASH_SHELL_HOSTNAME/load/coding
else
echo fnm has not been installed on this machine or is not in the path
echo do so and try again
fi