summaryrefslogtreecommitdiff
path: root/plugins/keychain
diff options
context:
space:
mode:
authormatthewhembree <47449406+matthewhembree@users.noreply.github.com>2019-11-28 15:37:37 -0600
committerMarc Cornellà <marc.cornella@live.com>2019-11-28 22:37:37 +0100
commit903a3e9daa110944a9edc37a5952b4a9ff630b39 (patch)
tree3e803307c8c347595fd495eec4a860073d5da7da /plugins/keychain
parent16154453ea701772acd144f22d3ddf9b6f3a40d3 (diff)
downloadzsh-903a3e9daa110944a9edc37a5952b4a9ff630b39.tar.gz
zsh-903a3e9daa110944a9edc37a5952b4a9ff630b39.tar.bz2
zsh-903a3e9daa110944a9edc37a5952b4a9ff630b39.zip
keychain: pass host as argument to keychain (#8436)
Diffstat (limited to 'plugins/keychain')
-rw-r--r--plugins/keychain/keychain.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/keychain/keychain.plugin.zsh b/plugins/keychain/keychain.plugin.zsh
index af34793e7..def97d8d1 100644
--- a/plugins/keychain/keychain.plugin.zsh
+++ b/plugins/keychain/keychain.plugin.zsh
@@ -15,7 +15,7 @@ function _start_agent() {
zstyle -a :omz:plugins:keychain options options
# start keychain...
- keychain ${^options:-} --agents ${agents:-gpg} ${^identities}
+ keychain ${^options:-} --agents ${agents:-gpg} ${^identities} --host $SHORT_HOST
# Get the filenames to store/lookup the environment from
_keychain_env_sh="$HOME/.keychain/$SHORT_HOST-sh"