diff options
author | Alan Pearce | 2018-12-19 22:23:50 +0100 |
---|---|---|
committer | Alan Pearce | 2018-12-19 22:23:50 +0100 |
commit | a55266068541cbcab22c47d9f83f591db30fa351 (patch) | |
tree | 89999c77bfd2b4bfc90244ce2cf962530a348722 /zsh | |
parent | fc6009c6bd91ddff1b1fbf5faefce0db2c775f28 (diff) | |
download | nixfiles-a55266068541cbcab22c47d9f83f591db30fa351.tar.lz nixfiles-a55266068541cbcab22c47d9f83f591db30fa351.tar.zst nixfiles-a55266068541cbcab22c47d9f83f591db30fa351.zip |
zsh: remove unused OS compatibility
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshenv | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv index b346c753..6b58186e 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 |