#!/usr/bin/env bash TERM=$(command -v default-terminal-emulator) VIM=$(command -v nvim) || VIM=$(command -v vim) exec "$TERM" -e "$VIM" -c 'set mouse=a' "$@" &>/dev/null & disown