X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/96684402c0c81050cce812c9ec60548850967f26..2c5e5338197eba2b79ba35e838f74905b0e99860:/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 "$@"