diff --git a/plugins/products b/plugins/products index c176480..7fe1ae8 100644 --- a/plugins/products +++ b/plugins/products @@ -151,5 +151,5 @@ sub command :Tab(&tab) ($self, $cart, $command, @) { } sub tab { - return grep /\D/, keys %{ read_products() }; + return grep !/^\+/, grep /\D/, keys %{ read_products() }; } diff --git a/revbank b/revbank index aac9cf3..1a4c4a5 100755 --- a/revbank +++ b/revbank @@ -175,7 +175,8 @@ OUTER: for (;;) { } } if (delete $completions{USERS}) { - $completions{$_}++ for RevBank::Users::names; + $completions{$_}++ for grep !RevBank::Users::is_hidden($_), + RevBank::Users::names; } if (delete $completions{NOABORT}) { delete $completions{abort};