Browse Source

env vars for the win

master
Jonathan "Duke" Leto 7 years ago
parent
commit
b864348a22
  1. 2
      lib/Hush/List.pm

2
lib/Hush/List.pm

@ -144,6 +144,8 @@ sub show {
print "Hushlist: $name\n";
print "Recents memos:\n";
my $memos_exist = 0;
# show the last 10 memos with env var over-ride
my $N = $ENV{HUSHLIST_NUM_MEMOS} || 10;
# TODO: detect the last N memos to our zaddr for this list
if ($memos_exist) {

Loading…
Cancel
Save