diff options
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 |