From 8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 27 May 2017 20:01:34 +1200 Subject: Add history filename squashing to rlwrap(1) calls --- bin/clog.sh | 2 +- bin/osc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3