From a9aab12d50a9bd8c0b2f71863105a9c2af5c9c1a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 22 Dec 2016 23:42:17 +1300 Subject: Change prompt character for ed(1) wrapper POSIX default prompt for ed(1) (after P command) is an asterisk rather than a colon. I suppose it makes sense to have a distinct character from the one used for ex(1). --- sh/shrc.d/ed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh') diff --git a/sh/shrc.d/ed.sh b/sh/shrc.d/ed.sh index 243dcffc..6e5ecd3b 100644 --- a/sh/shrc.d/ed.sh +++ b/sh/shrc.d/ed.sh @@ -11,8 +11,8 @@ ed() { [ -e "$HOME"/.cache/ed/verbose ] && set -- --verbose "$@" - # Add a colon prompt (POSIX feature) - set -- -p: "$@" + # Add an asterisk prompt (POSIX feature) + set -- -p\* "$@" # Run in rlwrap(1) if available set -- ed "$@" -- cgit v1.2.3