diff --git a/.config/zsh/functions/readwwwlog b/.config/zsh/functions/readwwwlog index 47dadba..d6e7e29 100755 --- a/.config/zsh/functions/readwwwlog +++ b/.config/zsh/functions/readwwwlog @@ -36,7 +36,7 @@ for url in ${urls}; do local file="$(mktemp --suffix='.readwwwlog')" curl --silent --location --output ${file} ${url} - local -a cmd=(less --LINE-NUMBERS --ignore-case \ + local -a cmd=(less +1 --LINE-NUMBERS --ignore-case \ --pattern='(error|fail):' ${file}) if [[ -o NO_INTERACTIVE ]]; then cmd=(${TERMINAL} ${termopts} -e ${cmd})