#!/bin/bash if test "$TERM" = 'emacs'; then exec gnuclient $@ fi no_exit_on_failed_exec=1 # Don't use these since we want $EDITOR, etc to point to this script. #exec "$EDITOR" $@ #exec "$USE_EDITOR" $@ #exec "$VISUAL" $@ #exec xemacs $@ exec emacs -bg black -fg white $@ exec vi $@ echo cannot find an editor >&2 exec false