From df1d98cf861fe67408149c99fa267c0959ec9c3e Mon Sep 17 00:00:00 2001 From: deicidus Date: Thu, 19 Jan 2023 12:19:23 -0800 Subject: [PATCH] improved path --- mud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mud b/mud index 64a3738..e493c57 100755 --- a/mud +++ b/mud @@ -4,7 +4,7 @@ if ! command -v path-wizard > /dev/null 2>&1; then read -p "ao-mud is not installed, install now? [y/n]: " choice if [ "$choice" = "y" ]; then - SCRIPT_DIR=$(dirname "$0") + SCRIPT_DIR=$(dirname "$0"); eval "cd \"$SCRIPT_DIR\" && pwd" chmod +x $SCRIPT_DIR/spells/path-wizard $SCRIPT_DIR/spells/path-wizard add $SCRIPT_DIR/spells echo "Your spellbook has been activated, please open a fresh terminal now."