#!/bin/sh cmd=$(/usr/bin/fuzzel --dmenu --prompt "\$ ") || exit sel=$($cmd | /usr/bin/fuzzel --dmenu) || exit exec $(/usr/bin/fuzzel --dmenu --prompt "\$1 $sel < ") "$sel" || exit