From 9143df00172a634083b7f5299cb1c89ac32c5245 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 16 Nov 2019 14:38:55 +0100 Subject: [PATCH] use .birthdays as default file --- README.md | 2 +- birthdays.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f18f2ca..8c2a893 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ birthdays shellscript for printing upcoming birthdays -in ~/birthdays: +in ~/.birthdays: it is important to put a tabulator between date (month/day) and the message, on the end you should write a newline! diff --git a/birthdays.sh b/birthdays.sh index 13b74d3..ec54ed4 100755 --- a/birthdays.sh +++ b/birthdays.sh @@ -1,6 +1,6 @@ #!/bin/bash -conf_file="$HOME/birthdays" +conf_file="$HOME/.birthdays" days_left=30 readarray lines < "$conf_file"