summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2017-05-15 14:32:49 +0200
committerAlan Pearce2017-05-15 14:32:49 +0200
commitc98904f9baacc0cec9c0e29d286bafa92e309a9d (patch)
treed47944a3e0e0cbcb5c38df1129dd9f5616fe07a6 /zsh
parent89c2e4af81f14a9037d73f6e025ed8a290f961d6 (diff)
parent3dd9fad897305f1ed6edc2a880ffad2c888ae9d9 (diff)
downloaddotfiles-c98904f9baacc0cec9c0e29d286bafa92e309a9d.tar.lz
dotfiles-c98904f9baacc0cec9c0e29d286bafa92e309a9d.tar.zst
dotfiles-c98904f9baacc0cec9c0e29d286bafa92e309a9d.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshenv9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index b026d9a..114e5ce 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -37,6 +37,15 @@ then
       ;;
   esac
 
+  if [[ $os == "linux" ]]
+  then
+    read osrelease < /proc/sys/kernel/osrelease
+    if [[ $osrelease =~ Microsoft$ ]]
+    then
+      windows=1
+    fi
+  fi
+
   case $MACHTYPE in
     *64)
       arch=amd64