summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Huneycutt <chadh@gentoo.org>2001-08-18 18:08:20 +0000
committerChad Huneycutt <chadh@gentoo.org>2001-08-18 18:08:20 +0000
commit7230f12bc7e4a61f86bd3b29590cea3664eebfbd (patch)
tree49c855e1bac2c5f0edd093510224f8b74ba2b982 /app-editors/e3/files/emacs
parentMasked out blackdown-1.3.1 for others to test. (diff)
downloadgentoo-2-7230f12bc7e4a61f86bd3b29590cea3664eebfbd.tar.gz
gentoo-2-7230f12bc7e4a61f86bd3b29590cea3664eebfbd.tar.bz2
gentoo-2-7230f12bc7e4a61f86bd3b29590cea3664eebfbd.zip
added some easier-to-remember names for e3 for the build image only.
I don't want to interfere with vim or emacs or pico otherwise.
Diffstat (limited to 'app-editors/e3/files/emacs')
-rw-r--r--app-editors/e3/files/emacs17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-editors/e3/files/emacs b/app-editors/e3/files/emacs
new file mode 100644
index 000000000000..41ced9968fdb
--- /dev/null
+++ b/app-editors/e3/files/emacs
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+E3=/usr/bin/e3
+whichE3=${E3}em
+
+if [ -f ${E3} ]; then
+ if [ -f ${whichE3} ]; then
+ for i in $@
+ do
+ ${whichE3} $i
+ done
+ else
+ echo ${whichE3}: file does not exist
+ fi
+else
+ echo "${E3}: file does not exist"
+fi