]> git.pld-linux.org Git - packages/e3.git/commitdiff
e9be4ae6ca67090f8278dd6f2a6c9424 e3-editor.sh
authorklakier <klakier@pld-linux.org>
Fri, 13 Apr 2001 14:45:37 +0000 (14:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e3-editor.sh -> 1.1

e3-editor.sh [new file with mode: 0755]

diff --git a/e3-editor.sh b/e3-editor.sh
new file mode 100755 (executable)
index 0000000..9802ecb
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+E3_DEFAULT=e3vi
+
+case $0 in
+   *ws|*wordstar) E3=e3ws ;;
+   *vi) E3=e3vi ;;   
+   *em|*emacs) E3=e3em ;;
+   *pi|*pico) E3=e3pi ;;
+   *ne) E3=e3ne ;;
+   *) E3="$E3_DEFAULT" ;;
+esac
+
+exec "$E3" "$@"
This page took 0.065682 seconds and 4 git commands to generate.