From 81b3f373d5cd6fd7d4ff9393fda8110affa49c2e Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Sat, 28 Feb 2026 18:43:05 -0600 Subject: [PATCH] Update Discworld script to not hardcode a directory name --- Discworld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Discworld b/Discworld index b668233..fa80b1d 100755 --- a/Discworld +++ b/Discworld @@ -1,4 +1,4 @@ -cd ~/documents/MUD/Discworld +cd "$(dirname '$0')" rm logs/history.log # No existing discworld session? Then create one @@ -30,7 +30,7 @@ if [ -n "$TMUX" ] || [ "$DISC_SESSION_CREATE" = "1" ]; then tmux send-keys 'clear && tail -fs .5 logs/chat.log' 'C-m' # Did we ask for the full layout? - if [[ $1 == "full" || $1 != "full" ]]; then + if [[ $1 == "full" ]]; then # Horizontal split and load spottimers echo "Making death timer window" tmux select-pane -t discworld:0.1