aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-27 20:01:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-27 20:01:34 +1200
commit8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd (patch)
treef7030bd99beb105c27d28b3c69ddac672bf757c2 /bin
parentMake a caveat of swr(1df) clearer (diff)
downloaddotfiles-8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd.tar.gz
dotfiles-8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd.zip
Add history filename squashing to rlwrap(1) calls
Diffstat (limited to 'bin')
-rw-r--r--bin/clog.sh2
-rw-r--r--bin/osc.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/clog.sh b/bin/clog.sh
index b17ff1c5..b62d4f94 100644
--- a/bin/clog.sh
+++ b/bin/clog.sh
@@ -7,7 +7,7 @@ set --
# If we have rlwrap, quietly use it
command -v rlwrap >/dev/null 2>&1 &&
- set -- rlwrap -C "$self" "$@"
+ set -- rlwrap --history-filename=/dev/null -C "$self" "$@"
# Write the date, the standard input (rlwrapped if applicable), and two dashes
# to $CLOG, defaulting to ~/.clog.
diff --git a/bin/osc.sh b/bin/osc.sh
index ba35d9b7..b145b5cd 100644
--- a/bin/osc.sh
+++ b/bin/osc.sh
@@ -17,7 +17,7 @@ serv=${2:-https}
set --
## If we have rlwrap, use it, but don't complain if we don't
if command -v rlwrap >/dev/null 2>&1 ; then
- set -- "$@" rlwrap
+ set -- "$@" rlwrap --history-filename=/dev/null
fi
## The actual openssl(1ssl) and subcommand call
set -- "$@" openssl s_client