From 83809c1e228b614af98e15892f630387cfc9999b Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 3 Jul 2013 15:38:55 +0200 Subject: [PATCH] A better way of doing it --- home/.zshrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/home/.zshrc b/home/.zshrc index e39545b..fb5b7a8 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -48,7 +48,6 @@ source $ZSH/oh-my-zsh.sh export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/Cellar/php/5.3.8/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/l0rd/packer alias homeshick="$HOME/.homesick/repos/homeshick/home/.homeshick" -if [ -f "~/.keychain/$HOST-sh" ]; then - keychain ~/.ssh/id_rsa - . ~/.keychain/$HOST-sh +if which keychain > /dev/null; then + eval `keychain --eval --agents ssh id_dsa` fi