aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-24 22:48:31 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-24 22:48:31 +1300
commitc274cd9df84ce0c81f9564cf77e82c228c04bed8 (patch)
tree781ba4da38c9986913b5940dec53efc2f42d3484 /sh
parentMerge branches 'freebsd' and 'openbsd' (diff)
downloaddotfiles-c274cd9df84ce0c81f9564cf77e82c228c04bed8.tar.gz
dotfiles-c274cd9df84ce0c81f9564cf77e82c228c04bed8.zip
Don't save history for ed(1) rlwrap
Diffstat (limited to '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 6e5ecd3b..d7d3fa2f 100644
--- a/sh/shrc.d/ed.sh
+++ b/sh/shrc.d/ed.sh
@@ -17,7 +17,7 @@ ed() {
# Run in rlwrap(1) if available
set -- ed "$@"
command -v rlwrap >/dev/null 2>&1 &&
- set -- rlwrap "$@"
+ set -- rlwrap --history-filename=/dev/null "$@"
# Run determined command
command "$@"