Add DAY_OF_WEEK module

Prints out which day of the week it is (Thursday, etc)
This commit is contained in:
Baitinq 2021-10-21 13:55:33 +01:00 committed by GitHub
parent c5d1205e0c
commit e766223315
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