From 976460a99bcdf11953600698845748f96210506e Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Mon, 18 Jul 2022 15:27:58 +0800 Subject: [PATCH] bash: imgcat: do not catch stderr --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 6326969..bdc4b51 100644 --- a/.bashrc +++ b/.bashrc @@ -113,7 +113,7 @@ imgcat_max_pixels() { } imgcat() { - MAX=$(imgcat_max_pixels 2>/dev/null) + MAX=$(imgcat_max_pixels) for i; do if [ -n "$MAX" ]; then convert "$i" -resize "${MAX}>" sixel:- -- 2.45.2