Use highlight colour from theme in die()
This commit is contained in:
parent
0e631eb476
commit
6ad16cd497
|
@ -14,7 +14,9 @@ if [[ -v 1 && ${1} =~ '^[0-9]+$' ]]; then
|
|||
fi
|
||||
|
||||
if [[ -v 1 ]]; then
|
||||
print -Pnu2 "%B%F{201}"
|
||||
local colour="201"
|
||||
[[ -v zsh_theme_colours ]] && colour=${zsh_theme_colours[highlight]}
|
||||
print -Pnu2 "%B%F{${colour}}"
|
||||
print -u2 "${@}"
|
||||
print -Pnu2 "%f%b"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user