From 4932e7d9e4c5f88e5f10534470c2d3f98d1f2aac Mon Sep 17 00:00:00 2001 From: SkyperTHC Date: Sun, 15 Jan 2023 11:24:11 +0000 Subject: [PATCH] curl2 --- guest/fs-root/etc/shellrc | 1 + 1 file changed, 1 insertion(+) diff --git a/guest/fs-root/etc/shellrc b/guest/fs-root/etc/shellrc index 5b89ab2..1c83c78 100644 --- a/guest/fs-root/etc/shellrc +++ b/guest/fs-root/etc/shellrc @@ -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 "$@" }