summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2015-12-24 19:56:35 +0000
committerAlan Pearce2015-12-24 19:56:35 +0000
commit58470726b86ca10892ffb91b48a571afc0cf8439 (patch)
treec9f891c9716d264a62eb3382e6af0bbf4fa91b27 /tag-zsh/config
parentd9d0d88b351356a24a96005551d5868cf5ae35be (diff)
downloadnixfiles-58470726b86ca10892ffb91b48a571afc0cf8439.tar.lz
nixfiles-58470726b86ca10892ffb91b48a571afc0cf8439.tar.zst
nixfiles-58470726b86ca10892ffb91b48a571afc0cf8439.zip
ZSH: Remove old unused linkAuthSock setup
Diffstat (limited to 'tag-zsh/config')
-rwxr-xr-xtag-zsh/config/zsh/zshrc14
1 files changed, 0 insertions, 14 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 1dd1cc2f..496a9756 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -30,20 +30,6 @@ hosts=(
 
 users=(alan root toor)
 
-function linkAuthSock () {
-	local linkSock=~/.ssh/ssh_auth_sock
-	ln -sf $1  ~/.ssh/ssh_auth_sock
-	export SSH_AUTH_SOCK=$linkSock
-}
-
-if [[ "$SSH_AUTH_SOCK" != "" ]]
-then
-	if [[ -e ~/.ssh/ssh_auth_sock && ! -L ~/.ssh/ssh_auth_sock ]]
-	then
-		linkAuthSock $SSH_AUTH_SOCK
-	fi
-fi
-
 if [[ $os == "gnu" ]]
 then
 	export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"