This commit is contained in:
SkyperTHC 2023-01-15 11:24:11 +00:00
parent 2c1f5258cc
commit 4932e7d9e4
No known key found for this signature in database
GPG Key ID: A9BD386DF9113CD6

@ -70,6 +70,7 @@ tty -s && [[ -n $TERM ]] && [[ "$TERM" != dumb ]] && {
# curl otherwise shows Progress Meter if stdout is piped to | grcat
function curl {
[[ "$1" == "rpc"* ]] && { command curl "$@"; return; }
[[ ! -t 1 ]] && { command curl "$@"; return; }
/usr/bin/grc --colour=auto curl "$@"
}