fix(scripts/him): mark-read loop

This commit is contained in:
Dmitriy Pleshevskiy 2022-05-15 11:28:33 +03:00
parent f7bbf39cbc
commit 3e988e6239

View file

@ -31,7 +31,7 @@ case $1 in
;; ;;
"mark-read") "mark-read")
for id in $(NO_COLOR=1 $bin list -s 20 | grep '✷'| awk '{ print $1 }') for id in $(NO_COLOR=1 $bin -a $2 list -s 20 | grep '✷'| awk '{ print $1 }')
do do
$bin -a $2 flag add $id seen $bin -a $2 flag add $id seen
done done