#!/bin/sh QUESTS=`ls -1 --color=no $HOME/.quests` TARGET=`ls -1 --color=no $HOME/.quests | tr '_' ' ' | dmenu -l 10 -p "Start Quest: " | tr ' ' '_'` QUEST_DIR="$HOME/.quests/$TARGET" [ -n "$TARGET" ] && QUEST_DIR="$QUEST_DIR" exec $QUEST_DIR/env