diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/editor | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ #--------------------------------------------------------------- # Project : Mageia # Module : bin -# File : xte +# File : editor # Author : David Walser # Created On : Thu Apr 3 16:26:54 2012 # Purpose : launch a text editor @@ -10,7 +10,7 @@ strip_texteditor_var() { if [[ -n "$TEXTEDITOR" ]]; then - if [[ `basename "$TEXTEDITOR"` == "xte" ]]; then + if [[ `basename "$TEXTEDITOR"` == "editor" ]]; then unset TEXTEDITOR elif ! which $TEXTEDITOR > /dev/null 2>&1; then unset TEXTEDITOR @@ -58,4 +58,4 @@ else echo "no text editor detected" fi -# xte ends here +# editor ends here |