From a55266068541cbcab22c47d9f83f591db30fa351 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Dec 2018 22:23:50 +0100 Subject: zsh: remove unused OS compatibility --- zsh/.config/zsh/.zshenv | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv index b346c75..6b58186 100644 --- a/zsh/.config/zsh/.zshenv +++ b/zsh/.config/zsh/.zshenv @@ -31,25 +31,6 @@ then ;; esac - if [[ $os == "linux" ]] - then - read osrelease < /proc/sys/kernel/osrelease - if [[ $osrelease =~ Microsoft$ ]] - then - export windows=1 - umask 002 - fi - fi - - if [[ $os != "darwin" ]] - then - unset SSH_AGENT_PID - if [[ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ && -n $commands[gpgconf] ]] - then - export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" - fi - fi - case $MACHTYPE in *64) arch=amd64 -- cgit 1.4.1