commit cc4756619744d4b8e5ecbf8e0d4fdfb9754e34ad (patch)
parent 8305f135cc7b0a05417916e3932dc81cabc4a2a5
Author: Alex Karle <alex@alexkarle.com>
Date: Wed, 30 Sep 2020 00:27:27 -0400
ed: Disable rlwrap warnings, logging
On OpenBSD rlwrap prints a warning on startup that it
cannot clomplete filenames outside the cwd. This is OK
(likely an unveil call), but should be suppressed.
Likewise, the logfile option was initially added because
I was noticing strange behavior with rlwrap, but I haven't
seen it recently (and don't want to start building cruft
in /tmp).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/e b/bin/e
@@ -15,8 +15,8 @@ if ed --version >/dev/null 2>&1 ; then
fi
exec rlwrap \
+ --no-warnings \
--complete-filenames \
- --logfile /tmp/rled.log \
--histsize 10000 $COMP \
--extra-char-after-completion '' \
ed $VERBOSE -p"> " "$@"