Commit 0c60f421 authored by Maximilian Güntner's avatar Maximilian Güntner Committed by Marc Cornellà
Browse files

ssh-agent: Use /usr/bin/env to find ssh-add



This change is important when ssh-add is not inside /usr/bin e.g.
on NixOS.
Signed-off-by: default avatarMaximilian Güntner <code@maschinenpsychologe.de>
parent e96b1266
......@@ -45,7 +45,7 @@ function _plugin__start_agent()
zstyle -a :omz:plugins:ssh-agent identities identities
echo starting ssh-agent...
/usr/bin/ssh-add $HOME/.ssh/${^identities}
/usr/bin/env ssh-add $HOME/.ssh/${^identities}
}
# Get the filename to store/lookup the environment from
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment