From e8fa980d8edcbfff8686b0cae7f4b2e4db463824 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 15 Apr 2022 07:30:40 +0200 Subject: [PATCH] Break up too long line --- .config/zsh/functions/readwwwlog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/zsh/functions/readwwwlog b/.config/zsh/functions/readwwwlog index 6f2188b..28624c4 100755 --- a/.config/zsh/functions/readwwwlog +++ b/.config/zsh/functions/readwwwlog @@ -30,7 +30,8 @@ for url in ${urls}; do sleep 1 # dpaste.com workaround local file="$(mktemp --suffix='.readwwwlog')" curl --silent --location --output ${file} ${url} - ${TERMINAL} ${termopts} -e less --LINE-NUMBERS --pattern='(error|fail):' ${file} + ${TERMINAL} ${termopts} -e \ + less --LINE-NUMBERS --pattern='(error|fail):' ${file} rm ${file} else ${default_cmd} ${url}