mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
keychain: define SHORT_HOST if not defined
Fixes problems when using the plugin via antibody or antigen.
This commit is contained in:
parent
bcc3ee8ce8
commit
00f3fa2c40
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# Define SHORT_HOST if not defined (%m = host name up to first .)
|
||||||
|
SHORT_HOST=${SHORT_HOST:-${(%):-%m}}
|
||||||
|
|
||||||
function _start_agent() {
|
function _start_agent() {
|
||||||
local agents
|
local agents
|
||||||
local -a identities
|
local -a identities
|
||||||
|
|
Loading…
Reference in a new issue