From c044bd788c12fa79cabedc7c2f176d54775711a2 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 31 Jan 2016 11:10:13 +1100 Subject: [PATCH] Added Windows support to getbirthday --- fetch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fetch b/fetch index b4fc2544..c8d514e9 100755 --- a/fetch +++ b/fetch @@ -1225,6 +1225,11 @@ getbirthday () { esac ;; + "Windows") + birthday="$(ls -alct --full-time /cygdrive/c/Windows/explorer.exe | awk '{printf $8 " " $9}')" + date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")" + ;; + *) birthday="Unknown" ;;