#!/bin/bash set -euo pipefail IFS=$'\n\t' instance=$(ls -I _MMC_TEMP -I instgroups.json ~/.local/share/multimc/instances | dmenu -i -p "Choose minecraft instance: " -h 25) multimc --launch "$instance"