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"