dotfiles

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

commit 92455d077c77aabd570b60f76de4d65e0efadbd2 (patch)
parent 4239f4c5fc00de842965519cfaa5388a153e80b0
Author: Alex Karle <alex@alexkarle.com>
Date:   Mon, 19 Oct 2020 23:59:18 -0400

ed: Fix `e` script when no rlwrap present

I seem to have missed the argument-passing here. Made for
a confusing roundabout on my new alpine linux VM:

	$ e `which e`
	<enter>
	?
	f
	?
	h
	no filename

Yikes!

Diffstat:
Mbin/e | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/e b/bin/e @@ -5,7 +5,7 @@ set -e # short circuit fallback to ed(1) if no rlwrap present if ! command -v rlwrap >/dev/null; then echo "warning: rlwrap not found, falling back to regular ed" 1>&2 - exec ed + exec ed -p'> ' "$@" fi for f in .tags tags; do