From 34cb9259062bfa57fe7ea9400857aac20be0fde7 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Sun, 12 Jun 2022 15:11:49 +0200 Subject: [PATCH] plugins/tail: hide hidden accounts here too --- plugins/tail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tail b/plugins/tail index efd1703..96d4a5f 100644 --- a/plugins/tail +++ b/plugins/tail @@ -7,7 +7,7 @@ sub command :Tab(tail) ($self, $cart, $command, @) { my $c = (`tput cols 2>/dev/null` || 80) + 0; # ew :) - system "perl -lane's/CHECKOUT\\s+\\S+\\s+// or next; s/ #// or next; s/_/ /; print' .revbank.log | tail -n$n | perl -ple'\$_ = substr \$_, 0, $c'"; + system "perl -lane's/CHECKOUT\\s+\\S+\\s+// or next; /\\s[-+][a-z]/i and next; s/ #// or next; s/_/ /; print' .revbank.log | tail -n$n | perl -ple'\$_ = substr \$_, 0, $c'"; return ACCEPT; }