From d7b6758d2c7f91762cf2da980aa11d76314256d4 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sat, 2 Mar 2013 14:58:19 +0000 Subject: bin/editor: try using $VISUAL and $EDITOR --- bin/editor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/editor b/bin/editor index 057b977..145fffb 100755 --- a/bin/editor +++ b/bin/editor @@ -10,6 +10,8 @@ exec_editor() { } exec_editor "$TEXTEDITOR" "$@" +exec_editor "$VISUAL" "$@" +exec_editor "$EDITOR" "$@" [ -n "$GNOME_DESKTOP_SESSION_ID" ] && exec_editor gedit "$@" [ -n "$KDE_FULL_SESSION" ] && exec_editor kwrite "$@" exec_editor kwrite "$@" -- cgit v1.2.1