Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
00f3fa2c
Commit
00f3fa2c
authored
Mar 25, 2020
by
Marc Cornellà
Browse files
keychain: define SHORT_HOST if not defined
Fixes problems when using the plugin via antibody or antigen.
parent
bcc3ee8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/keychain/keychain.plugin.zsh
View file @
00f3fa2c
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment