mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Fix load of various plugins: fastfile, keychain, sfffe, stack
This commit is contained in:
parent
68d51bd7d8
commit
2d6965f856
4 changed files with 10 additions and 11 deletions
|
|
@ -1,7 +1,9 @@
|
|||
(( $+commands[keychain] )) || return
|
||||
|
||||
# Define SHORT_HOST if not defined (%m = host name up to first .)
|
||||
SHORT_HOST=${SHORT_HOST:-${(%):-%m}}
|
||||
|
||||
function _start_agent() {
|
||||
function {
|
||||
local agents
|
||||
local -a identities
|
||||
local -a options
|
||||
|
|
@ -28,8 +30,3 @@ function _start_agent() {
|
|||
[ -f "$_keychain_env_sh" ] && . "$_keychain_env_sh"
|
||||
[ -f "$_keychain_env_sh_gpg" ] && . "$_keychain_env_sh_gpg"
|
||||
}
|
||||
|
||||
_start_agent
|
||||
|
||||
# tidy up after ourselves
|
||||
unfunction _start_agent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue