From 2f2e9d387a93273e9ee879914fec719d156607a5 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 30 Jan 2016 23:54:25 +1100 Subject: [PATCH] Shorten windows cmd --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index cd6c53cb..7e9ea6d3 100755 --- a/fetch +++ b/fetch @@ -1201,7 +1201,7 @@ getbirthday () { ;; "Windows") - birhday="$(cmd /K WMIC OS GET InstallDate)" + birhday="$(wmic os get InstallDate)" birthday=${birthday/InstallDate } birthday=${birthday//[[:space:]]/ } date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")"