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