#! /bin/sh cmd=`xgetline -t "Shell command" -p "Command:" -H $HOME/.cmd.hist` && exec xcatch -- sh -c "$cmd"