diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 20:01:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 20:01:34 +1200 |
commit | 8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd (patch) | |
tree | f7030bd99beb105c27d28b3c69ddac672bf757c2 /bin | |
parent | Make a caveat of swr(1df) clearer (diff) | |
download | dotfiles-8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd.tar.gz dotfiles-8571498f0f8c27b35a2ed813ace1b0c04e2c1dfd.zip |
Add history filename squashing to rlwrap(1) calls
Diffstat (limited to 'bin')
-rw-r--r-- | bin/clog.sh | 2 | ||||
-rw-r--r-- | bin/osc.sh | 2 |
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. @@ -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 |