slitaz-tools view tinyutils/editor @ rev 902

bin/editor fix:infinite-loop($EDITOR=nano/mcedit case),param-handling (copyq).
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 02:58:59 2014 +0000 (2014-09-26)
parents 0f5e3af5a51d
children b6cdd2c3f5fa
line source
1 #!/bin/sh
2 # Launch SliTaz default Text Editor.
3 #
4 . /etc/slitaz/applications.conf
6 USER_CONFIG="$HOME/.config/slitaz/applications.conf"
7 [ -f $USER_CONFIG ] && . $USER_CONFIG
9 exec $EDITOR $@
11 exit 0