diff --git a/_home/private_dot_config/sz.env/truenas-scale.env b/_home/private_dot_config/sz.env/truenas-scale.env index 5fc83de..d89614a 100644 --- a/_home/private_dot_config/sz.env/truenas-scale.env +++ b/_home/private_dot_config/sz.env/truenas-scale.env @@ -4,7 +4,7 @@ if is_cmd midclt; then if [ -n "$SCALE_POOL_ROOT" ]; then if [ -e "$SCALE_POOL_ROOT/jailmaker/jlmkr.py" ]; then #alias jlmkr="bash -c '_jlmkr() { $SCALE_POOL_ROOT/jailmaker/jlmkr.py \${@:---help}; }; _jlmkr \$@' " - jlmkr() { sudo $SCALE_POOL_ROOT/jailmaker/jlmkr.py "${@:---help}"; } + function jlmkr() { sudo $SCALE_POOL_ROOT/jailmaker/jlmkr.py "${@:---help}"; } fi fi fi diff --git a/_home/private_dot_config/sz.env/zza_starship.env b/_home/private_dot_config/sz.env/zza_starship.env index ecf459d..83653e8 100644 --- a/_home/private_dot_config/sz.env/zza_starship.env +++ b/_home/private_dot_config/sz.env/zza_starship.env @@ -3,5 +3,11 @@ if is_cmd load-starship; then . <( load-starship - ) [[ -n "${DBG}" ]] && echo "starship loaded." +elif [[ -n "${DBG}" ]]; then + >&2 printf '%s\n' \ + 'starship is not installed, you can install by running:' \ + '\tcurl -sS https://starship.rs/install.sh | FORCE=1 BIN_DIR=$HOME/bin sh > /dev/null' \ + '' + fi