dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit ac66b3b7f10063db3912332ab165a34173d43d35 (patch)
parent 70c8c4f3e0fe7e5e292cb31b656476abb046b28b
Author: Alex Karle <alex@alexkarle.com>
Date:   Tue, 29 Jun 2021 23:21:14 -0400

ed: export EDITOR and VISUAL as ed in `e`

If I've chosen to use ed, we should stay in ed!

Diffstat:
Mbin/e | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/e b/bin/e @@ -16,9 +16,12 @@ for f in .tags tags; do done DOTDIR="$(dirname $(dirname $(readlink -f "$0")))" -echo "$DOTDIR" export INPUTRC="$DOTDIR/etc/edinputrc" +# Don't want to pop open vi(1)! +export EDITOR=e +export VISUAL=e + # Only include -v if using GNU ed if ed --version >/dev/null 2>&1 ; then VERBOSE="-v"