Merge pull request #27 from Baitinq/master

Add DAY_OF_WEEK module
This commit is contained in:
Baitinq 2021-10-21 13:56:23 +01:00 committed by GitHub
commit ffc49da2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
modules/day_of_week Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Prints out the date
PREFIX=''
get_day()
{
echo "$PREFIX $(date '+%a')"
}
get_day