903a3e9daa110944a9edc37a5952b4a9ff630b39
- Author
- matthewhembree <47449406+matthewhembree@users.noreply.github.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
keychain: pass host as argument to keychain (#8436)
Diff
1diff --git a/plugins/keychain/keychain.plugin.zsh b/plugins/keychain/keychain.plugin.zsh
2index af34793e759e5a9feb331fd25abeac201c64c8cc..def97d8d1fff7e442ef9b9cb6d0b9f428b840104 100644
3--- a/plugins/keychain/keychain.plugin.zsh
4+++ b/plugins/keychain/keychain.plugin.zsh
5@@ -15,7 +15,7 @@ function _start_agent() {
6 zstyle -a :omz:plugins:keychain options options
7
8 # start keychain...
9- keychain ${^options:-} --agents ${agents:-gpg} ${^identities}
10+ keychain ${^options:-} --agents ${agents:-gpg} ${^identities} --host $SHORT_HOST
11
12 # Get the filenames to store/lookup the environment from
13 _keychain_env_sh="$HOME/.keychain/$SHORT_HOST-sh"