#!/bin/bash set -e clear export BASE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" export NU_CONFIG_DIR=${BASE}/nushell/config export PATH=${BASE}/bin:${BASE}/v:${PATH} echo "INSTALL HERO" curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh bash /tmp/hero_install.sh sudo cp ~/hero/bin/hero $BASE/../bin/ hero -help