fix variable name
This commit is contained in:
parent
16aa48baeb
commit
5b36f9ae9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue