From 99a26d88a26c4673b16e266bc59bc839fa5083bf Mon Sep 17 00:00:00 2001
From: Shanmu Thiagaraja <sthiagaraja@prshanmu.com>
Date: Wed, 31 Jul 2013 14:25:23 +0100
Subject: [PATCH] Username fix for windows-nt

---
 init.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/init.el b/init.el
index 1ecf49c..8a4439c 100644
--- a/init.el
+++ b/init.el
@@ -33,7 +33,9 @@
 
 ;;; Code:
 
-(message "Prelude is powering up... Be patient, Master %s!" (getenv "USER"))
+(message "Prelude is powering up... Be patient, Master %s!"
+         (getenv
+          (if (equal system-type 'windows-nt) "USERNAME" "USER")))
 
 (defvar prelude-dir (file-name-directory load-file-name)
   "The root dir of the Emacs Prelude distribution.")