diff options
author | Alan Pearce | 2017-05-15 14:32:49 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-15 14:32:49 +0200 |
commit | c98904f9baacc0cec9c0e29d286bafa92e309a9d (patch) | |
tree | d47944a3e0e0cbcb5c38df1129dd9f5616fe07a6 /zsh | |
parent | 89c2e4af81f14a9037d73f6e025ed8a290f961d6 (diff) | |
parent | 3dd9fad897305f1ed6edc2a880ffad2c888ae9d9 (diff) | |
download | dotfiles-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/.zshenv | 9 |
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 |