slitaz-tools view tinyutils/editor @ rev 335

Add support for favorite applications (browser, editor, terminal)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 28 01:08:15 2009 +0200 (2009-04-28)
parents
children 0f5e3af5a51d
line source
1 #!/bin/sh
2 # Lauch 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 $EDITOR $@ &
11 exit 0