X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/96684402c0c81050cce812c9ec60548850967f26..9db17a6585945476ab270ae7ed9d21cea89a60d4:/mdw-editor diff --git a/mdw-editor b/mdw-editor index a58ee95..8b6e819 100755 --- a/mdw-editor +++ b/mdw-editor @@ -6,7 +6,7 @@ editor=${MDW_EDITOR-ed} case "$EDITOR,$VISUAL,$TERM" in mdw-editor,mdw-editor,dumb) editor=gnuclient;; mdw-editor,mdw-editor,*);; - *,mdw-editor,*) editor=$EDITOR;; mdw-editor,*,*) editor=$VISUAL;; + *,*,*) editor=$EDITOR;; esac exec $editor "$@"