1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 21:20:07 +00:00

Merge branch 'clarkcox3-master'

This commit is contained in:
Roman Perepelitsa 2022-12-02 10:25:43 +01:00
commit 9f0751c2e3

View file

@ -5656,7 +5656,9 @@ prompt_cpu_arch() {
state=$_p9k__cache_val[1] state=$_p9k__cache_val[1]
text=$_p9k__cache_val[2] text=$_p9k__cache_val[2]
else else
text=$(command arch) 2>/dev/null && [[ $text == [a-zA-Z][a-zA-Z0-9_]# ]] || text= text=$(command machine) 2>/dev/null && [[ $text == [a-zA-Z][a-zA-Z0-9_]# ]] ||
text=$(command arch) 2>/dev/null && [[ $text == [a-zA-Z][a-zA-Z0-9_]# ]] ||
text=
state=_${(U)text} state=_${(U)text}
_p9k_cache_ephemeral_set "$state" "$text" _p9k_cache_ephemeral_set "$state" "$text"
fi fi