aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/ed.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-22 23:42:17 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-22 23:42:17 +1300
commita9aab12d50a9bd8c0b2f71863105a9c2af5c9c1a (patch)
tree29bb4a1843049a1185513b0c96bd97c63b57a43c /sh/shrc.d/ed.sh
parentRemove Alt+T td(1df) binding (diff)
downloaddotfiles-a9aab12d50a9bd8c0b2f71863105a9c2af5c9c1a.tar.gz
dotfiles-a9aab12d50a9bd8c0b2f71863105a9c2af5c9c1a.zip
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).
Diffstat (limited to 'sh/shrc.d/ed.sh')
-rw-r--r--sh/shrc.d/ed.sh4
1 files changed, 2 insertions, 2 deletions
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 "$@"