From 5b36f9ae9b9907dc246d4f4b166fd83936f118ed Mon Sep 17 00:00:00 2001 From: Jens Kraemer Date: Fri, 12 Jul 2013 20:31:25 +0200 Subject: [PATCH] fix variable name --- modules/ssh/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssh/init.zsh b/modules/ssh/init.zsh index 447846f5..be99ceb1 100644 --- a/modules/ssh/init.zsh +++ b/modules/ssh/init.zsh @@ -30,7 +30,7 @@ fi # Load identities. if ssh-add -l 2>&1 | grep 'The agent has no identities'; then zstyle -a ':prezto:module:ssh:load' identities '_ssh_identities' - if (( ${#identities} > 0 )); then + if (( ${#_ssh_identities} > 0 )); then ssh-add "$_ssh_dir/${^_ssh_identities[@]}" else ssh-add