diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-23 12:26:34 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-23 12:26:34 +0000 |
commit | 12e699af899ab61b9299da0ede6ace8666e265ba (patch) | |
tree | 8d1833e9d507db89cb30cbcb7774f0bb7ce02a89 /bin/sh | |
parent | 6045b837d61a31cb4012c106c1cd298fe8337b46 (diff) | |
download | FreeBSD-src-12e699af899ab61b9299da0ede6ace8666e265ba.zip FreeBSD-src-12e699af899ab61b9299da0ede6ace8666e265ba.tar.gz |
Call el_source() to read the contents of .editrc when line editing is enabled.
Obtained from: NetBSD
MFC after: 2 weeks
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/histedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index ae39c0b..6cd9fe4 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -132,6 +132,7 @@ bad: el_set(el, EL_EDITOR, "vi"); else if (Eflag) el_set(el, EL_EDITOR, "emacs"); + el_source(el, NULL); } } else { INTOFF; |