Browse Source

keychain: pass host as argument to keychain (#8436)

matthewhembree 5 years ago
parent
commit
903a3e9daa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/keychain/keychain.plugin.zsh

+ 1 - 1
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"