mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
keychain: define SHORT_HOST if not defined
Fixes problems when using the plugin via antibody or antigen.
This commit is contained in:
1 parent
bcc3ee8ce8
commit
00f3fa2c40
1 file changed
+3
@@ -1,3 +1,6 @@
|
||||
# Define SHORT_HOST if not defined (%m = host name up to first .)
|
||||
SHORT_HOST=${SHORT_HOST:-${(%):-%m}}
|
||||
|
||||
function _start_agent() {
|
||||
local agents
|
||||
local -a identities
|
||||
|
||||
Reference in new issue
Block a user