zsh: remove unused OS compatibility
Alan Pearce alan@alanpearce.eu
Wed, 19 Dec 2018 22:23:50 +0100
1 files changed, 0 insertions(+), 19 deletions(-)
jump to
M zsh/.config/zsh/.zshenv → zsh/.config/zsh/.zshenv
@@ -31,25 +31,6 @@ os=unknown ;; 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