summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org3
-rw-r--r--zsh/.config/zsh/.zshenv3
2 files changed, 4 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index b13f4e71..dbe38d64 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -226,7 +226,8 @@ because I manage those in my [[file:~/projects/dotfiles/tag-xresources/xresource
         (if (eq displays 1)
             (ap/set-fonts "Monaco" 16 "Lucida Grande" 16 t 0.2)
           (ap/set-fonts "Monoid" 12 "Helvetica Neue" 12 t 0.1))))
-     ((eq window-system 'x)
+     ((and (eq window-system 'x)
+           (not (getenv "windows")))
       (set-fontset-font "fontset-default" 'unicode (font-spec :name "Terminus" :size 18))
       (ap/set-fonts "Terminus" 18 "Lucida" 14 nil))))
 
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 51323f10..87dda38c 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -40,7 +40,8 @@ then
     read osrelease < /proc/sys/kernel/osrelease
     if [[ $osrelease =~ Microsoft$ ]]
     then
-      windows=1
+      export windows=1
+      umask 002
     fi
   fi