aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/ed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/ed.sh')
-rw-r--r--sh/shrc.d/ed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/ed.sh b/sh/shrc.d/ed.sh
index d13c01c9..4638d2cb 100644
--- a/sh/shrc.d/ed.sh
+++ b/sh/shrc.d/ed.sh
@@ -18,7 +18,7 @@ ed() {
# Execute the ed(1) call, in a wrapper if appropriate and with the
# concluded options
- if [ -t 0 ] && command -v rlwrap >/dev/null ; then
+ if [ -t 0 ] && command -v rlwrap >/dev/null 2>&1 ; then
command rlwrap ed "$@"
else
command ed "$@"