diff options
author | Chad Huneycutt <chadh@gentoo.org> | 2001-08-18 18:08:20 +0000 |
---|---|---|
committer | Chad Huneycutt <chadh@gentoo.org> | 2001-08-18 18:08:20 +0000 |
commit | 7230f12bc7e4a61f86bd3b29590cea3664eebfbd (patch) | |
tree | 49c855e1bac2c5f0edd093510224f8b74ba2b982 /app-editors/e3/files/vi | |
parent | Masked out blackdown-1.3.1 for others to test. (diff) | |
download | gentoo-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/vi')
-rw-r--r-- | app-editors/e3/files/vi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-editors/e3/files/vi b/app-editors/e3/files/vi new file mode 100644 index 000000000000..932ba7950bea --- /dev/null +++ b/app-editors/e3/files/vi @@ -0,0 +1,17 @@ +#!/bin/sh + +E3=/usr/bin/e3 +whichE3=${E3}vi + +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 |