mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
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: Maximilian Güntner <code@maschinenpsychologe.de>
This commit is contained in:
parent
e96b12666a
commit
0c60f421cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue