diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-12-24 20:44:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-12-24 20:44:20 +1300 |
commit | ca722bd3602a9ae2b44b3e41eea319592f61f613 (patch) | |
tree | 4e81023974098e50c895c8e85879e900fa73c084 | |
parent | Merge branch 'release/v11.9.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-ca722bd3602a9ae2b44b3e41eea319592f61f613.tar.gz dotfiles-ca722bd3602a9ae2b44b3e41eea319592f61f613.zip |
Merge branch 'release/v11.10.0'v11.10.0
* release/v11.10.0:
Add --no-warnings to rlwrap calls
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | bin/clog.sh | 3 | ||||
-rw-r--r-- | bin/osc.sh | 2 | ||||
-rw-r--r-- | sh/shrc.d/ed.sh | 2 |
4 files changed, 6 insertions, 5 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v11.9.0 -Mon, 15 Nov 2021 22:18:21 +0000 +tejr dotfiles v11.10.0 +Fri, 24 Dec 2021 07:44:16 +0000 diff --git a/bin/clog.sh b/bin/clog.sh index 3269c508..a5c777e8 100644 --- a/bin/clog.sh +++ b/bin/clog.sh @@ -3,7 +3,8 @@ # Build the cat(1) command we'll run, wrapping it in rlwrap(1) if available and # applicable. if [ "$#" -eq 0 ] && [ -t 0 ] && command -v rlwrap >/dev/null 2>&1 ; then - set -- rlwrap --history-filename=/dev/null cat -- "${@:--}" + set -- rlwrap --history-filename=/dev/null --no-warnings \ + cat -- "${@:--}" else set -- cat -- "${@:--}" fi @@ -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 --history-filename=/dev/null + set -- "$@" rlwrap --history-filename=/dev/null --no-warnings fi ## The actual openssl(1ssl) and subcommand call set -- "$@" openssl s_client diff --git a/sh/shrc.d/ed.sh b/sh/shrc.d/ed.sh index dc8433f6..0591e18d 100644 --- a/sh/shrc.d/ed.sh +++ b/sh/shrc.d/ed.sh @@ -22,7 +22,7 @@ ed() { # Run in rlwrap(1) if available set -- ed "$@" if command -v rlwrap >/dev/null 2>&1 ; then - set -- rlwrap --history-filename=/dev/null "$@" + set -- rlwrap --history-filename=/dev/null --no-warnings "$@" fi # Run determined command |