diff --git a/.config/zsh/functions/readwwwlog b/.config/zsh/functions/readwwwlog index 0a359ed..923e03e 100755 --- a/.config/zsh/functions/readwwwlog +++ b/.config/zsh/functions/readwwwlog @@ -25,7 +25,7 @@ for url in ${urls}; do sleep 1 # dpaste.com workaround local file="$(mktemp --suffix='.readwwwlog')" curl --silent --location --output ${file} ${url} - ${TERMINAL} -e less ${file} + ${TERMINAL} -e less --LINE-NUMBERS --pattern='(error|fail):' ${file} rm ${file} else ${default_cmd} ${url}