mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-16 22:31:03 +01:00
Compare commits
2 Commits
dc3bbcda26
...
2ac69955e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ac69955e8 | ||
|
|
8425e9774e |
@@ -53,7 +53,7 @@ function omz_termsupport_precmd {
|
|||||||
|
|
||||||
# Runs before executing the command
|
# Runs before executing the command
|
||||||
function omz_termsupport_preexec {
|
function omz_termsupport_preexec {
|
||||||
[[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return
|
[[ "${DISABLE_AUTO_TITLE:-}" != true ]] || return 0
|
||||||
|
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
setopt extended_glob
|
setopt extended_glob
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ function {
|
|||||||
# start keychain, only use --agents for versions below 2.9.0
|
# start keychain, only use --agents for versions below 2.9.0
|
||||||
autoload -Uz is-at-least
|
autoload -Uz is-at-least
|
||||||
if is-at-least 2.9 "$version_string"; then
|
if is-at-least 2.9 "$version_string"; then
|
||||||
keychain ${^options:-} --agents ${agents:-gpg} ${^identities} --host $SHORT_HOST
|
|
||||||
else
|
|
||||||
keychain ${^options:-} ${^identities} --host $SHORT_HOST
|
keychain ${^options:-} ${^identities} --host $SHORT_HOST
|
||||||
|
else
|
||||||
|
keychain ${^options:-} --agents ${agents:-gpg} ${^identities} --host $SHORT_HOST
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the filenames to store/lookup the environment from
|
# Get the filenames to store/lookup the environment from
|
||||||
|
|||||||
Reference in New Issue
Block a user