From e5caad6abb4cf7874b17878fe2b6fe17cb874ee2 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 30 Jan 2016 23:58:14 +1100 Subject: [PATCH] Remove windows support from getbirthday --- fetch | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fetch b/fetch index 7e9ea6d3..5bdf08c5 100755 --- a/fetch +++ b/fetch @@ -1200,13 +1200,6 @@ getbirthday () { date_cmd="$(date -j -f "%b %d %Y" "$birthday" "+%a %d %b %Y %l:%M %p")" ;; - "Windows") - birhday="$(wmic os get InstallDate)" - birthday=${birthday/InstallDate } - birthday=${birthday//[[:space:]]/ } - date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")" - ;; - *) birthday="Unknown" ;;