1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-12 12:21:00 +01:00

2 Commits

Author SHA1 Message Date
G'lek Tarssza
0354add542 fix(blinks)!: use default instead of black color (#13123) 2025-05-22 11:27:34 +02:00
Kirill Fedorov
40c2a72e03 fix(history): handle HIST_STAMPS with whitespace in timestamp format (#13099)
Co-authored-by: Kirill Fedorov <kfedorov@ibsys.ru>
2025-05-22 11:23:50 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -18,10 +18,10 @@ function omz_history {
print -u2 History file deleted.
elif [[ $# -eq 0 ]]; then
# if no arguments provided, show full history starting from 1
builtin fc $stamp -l 1
builtin fc "${stamp[@]}" -l 1
else
# otherwise, run `fc -l` with a custom format
builtin fc $stamp -l "$@"
builtin fc "${stamp[@]}" -l "$@"
fi
}

View File

@@ -11,11 +11,11 @@ function _prompt_char() {
# This theme works with both the "dark" and "light" variants of the
# Solarized color schema. Set the SOLARIZED_THEME variable to one of
# these two values to choose. If you don't specify, we'll assume you're
# using the "dark" variant.
# using neither variant.
case ${SOLARIZED_THEME:-dark} in
light) bkg=white;;
*) bkg=black;;
*) bkg=default;;
esac
ZSH_THEME_GIT_PROMPT_PREFIX=" [%{%B%F{blue}%}"