mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
wizard: check for unicode 9 support before asking about U+F0737
This commit is contained in:
parent
dff735c261
commit
ce0bee979b
1 changed files with 5 additions and 0 deletions
|
@ -767,6 +767,11 @@ function ask_quotes() {
|
|||
}
|
||||
|
||||
function ask_arrow() {
|
||||
# This condition holds as long as zsh is compiled with unicode 9 support.
|
||||
if (( ${(m)#${(g::)1}} != 1 )); then
|
||||
cap_arrow=0
|
||||
return
|
||||
fi
|
||||
[[ -n $2 ]] && add_widget 0 flowing -c "$2"
|
||||
add_widget 0 flowing -c %BDoes this look like an%b "%2Fupwards arrow%f%B?%b"
|
||||
add_widget 0 flowing -c reference: "$(href https://graphemica.com/%F0%9F%A0%89)"
|
||||
|
|
Loading…
Reference in a new issue