diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-03-02 14:58:19 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-03-02 14:58:19 +0000 |
commit | d7b6758d2c7f91762cf2da980aa11d76314256d4 (patch) | |
tree | f375e78d44e90a9aecc9af644e51e7d4988a0068 /bin/editor | |
parent | 450f70c8bdff7e3868a09cf016d5579021b457bb (diff) | |
download | common-data-d7b6758d2c7f91762cf2da980aa11d76314256d4.tar common-data-d7b6758d2c7f91762cf2da980aa11d76314256d4.tar.gz common-data-d7b6758d2c7f91762cf2da980aa11d76314256d4.tar.bz2 common-data-d7b6758d2c7f91762cf2da980aa11d76314256d4.tar.xz common-data-d7b6758d2c7f91762cf2da980aa11d76314256d4.zip |
bin/editor: try using $VISUAL and $EDITOR
Diffstat (limited to 'bin/editor')
-rwxr-xr-x | bin/editor | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 "$@" |