summary refs log tree commit diff stats
path: root/zsh/sheldon.zsh
diff options
context:
space:
mode:
authorAlan Pearce2013-11-01 07:49:20 +0000
committerAlan Pearce2013-11-01 07:49:20 +0000
commit7d8493f63daf93beb4c82d0c9602fc21974daca7 (patch)
treebf5e3f99492e93ad4005ab35f74749bfbbf76589 /zsh/sheldon.zsh
parent6d996c60ff93d5c9ff01015e89b5932eb190eafc (diff)
downloadnixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.lz
nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.tar.zst
nixfiles-7d8493f63daf93beb4c82d0c9602fc21974daca7.zip
zsh: rename auxillary files with extension
Diffstat (limited to 'zsh/sheldon.zsh')
-rw-r--r--zsh/sheldon.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/sheldon.zsh b/zsh/sheldon.zsh
new file mode 100644
index 00000000..6168baee
--- /dev/null
+++ b/zsh/sheldon.zsh
@@ -0,0 +1,5 @@
+if [[ ! -S $SSH_AUTH_SOCK ]]
+then
+	eval `ssh-agent | sed -e '/^echo/d'`
+	linkAuthSock $SSH_AUTH_SOCK
+fi