mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
keychain: define SHORT_HOST if not defined
Fixes problems when using the plugin via antibody or antigen.
This commit is contained in:
@@ -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