From e14c34ddbfaeda0a803ec76aaf9ad6746a4c8bb2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 24 Dec 2021 20:42:54 +1300 Subject: Add --no-warnings to rlwrap calls --- sh/shrc.d/ed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/shrc.d') diff --git a/sh/shrc.d/ed.sh b/sh/shrc.d/ed.sh index dc8433f6..0591e18d 100644 --- a/sh/shrc.d/ed.sh +++ b/sh/shrc.d/ed.sh @@ -22,7 +22,7 @@ ed() { # Run in rlwrap(1) if available set -- ed "$@" if command -v rlwrap >/dev/null 2>&1 ; then - set -- rlwrap --history-filename=/dev/null "$@" + set -- rlwrap --history-filename=/dev/null --no-warnings "$@" fi # Run determined command -- cgit v1.2.3