summary refs log tree commit diff stats
path: root/zsh/.config
diff options
context:
space:
mode:
authorAlan Pearce2017-06-05 12:52:14 +0200
committerAlan Pearce2017-06-05 12:52:14 +0200
commitd0112b2cb2b8f92041cd25d2b3fa018a5527fa1f (patch)
tree9e63a4065807265d178ef85e2f0d259e072c8e8b /zsh/.config
parent6fba65d173fd9372b7580ef3f8c213fb969a8c11 (diff)
parent7cbe8257a61d6bedb942d0fd15ad7aa018447012 (diff)
downloadnixfiles-d0112b2cb2b8f92041cd25d2b3fa018a5527fa1f.tar.lz
nixfiles-d0112b2cb2b8f92041cd25d2b3fa018a5527fa1f.tar.zst
nixfiles-d0112b2cb2b8f92041cd25d2b3fa018a5527fa1f.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshenv8
1 files changed, 2 insertions, 6 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 87276bd0..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
 
@@ -53,11 +54,6 @@ then
       ;;
   esac
 
-  if [[ ${path[(I)$HOME/bin ]} ]]
-  then
-    path+=($HOME/bin)
-  fi
-
   if [[ ${path[(I)$HOME/.local/bin ]} ]]
   then
     path+=($HOME/.local/bin)