aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/editor2
1 files changed, 2 insertions, 0 deletions
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 "$@"