#!/bin/sh # My X editor # Requires: terminal editor=${EDITOR:-${VISUAL:-vi}} terminal "$editor" "$@"