mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
Merge branch 'romkatv:master' into battery-prompt-for-windows
This commit is contained in:
commit
4ab4a1353f
7 changed files with 22 additions and 10 deletions
|
@ -698,6 +698,8 @@ If you are using a different terminal, proceed with manual font installation.
|
||||||
*Use these personal options* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
*Use these personal options* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
||||||
To change the font for the remote host connections, go to *Preferences → Terminal Options →
|
To change the font for the remote host connections, go to *Preferences → Terminal Options →
|
||||||
Look and Feel* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
Look and Feel* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
||||||
|
- **Warp**: Open Warp and Navigate to *Settings* then *Appearance*. Scroll down to *Text* Section
|
||||||
|
and under *"Terminal Font"*, select the `MesloLGS NF` font.
|
||||||
- **WSLtty**: Right click on an open terminal and then on *Options*. In the *Text* section, under
|
- **WSLtty**: Right click on an open terminal and then on *Options*. In the *Text* section, under
|
||||||
*Font*, click *"Select..."* and set Font to `MesloLGS NF Regular`.
|
*Font*, click *"Select..."* and set Font to `MesloLGS NF Regular`.
|
||||||
- **Yakuake**: Click *≡* → *Manage Profiles* → *New* → *Appearance*. Click *Choose* next to the
|
- **Yakuake**: Click *≡* → *Manage Profiles* → *New* → *Appearance*. Click *Choose* next to the
|
||||||
|
|
|
@ -244,6 +244,7 @@
|
||||||
.perl-version
|
.perl-version
|
||||||
.php-version
|
.php-version
|
||||||
.tool-versions
|
.tool-versions
|
||||||
|
.mise.toml
|
||||||
.shorten_folder_marker
|
.shorten_folder_marker
|
||||||
.svn
|
.svn
|
||||||
.terraform
|
.terraform
|
||||||
|
|
|
@ -235,6 +235,7 @@
|
||||||
.perl-version
|
.perl-version
|
||||||
.php-version
|
.php-version
|
||||||
.tool-versions
|
.tool-versions
|
||||||
|
.mise.toml
|
||||||
.shorten_folder_marker
|
.shorten_folder_marker
|
||||||
.svn
|
.svn
|
||||||
.terraform
|
.terraform
|
||||||
|
|
|
@ -235,6 +235,7 @@
|
||||||
.perl-version
|
.perl-version
|
||||||
.php-version
|
.php-version
|
||||||
.tool-versions
|
.tool-versions
|
||||||
|
.mise.toml
|
||||||
.shorten_folder_marker
|
.shorten_folder_marker
|
||||||
.svn
|
.svn
|
||||||
.terraform
|
.terraform
|
||||||
|
|
|
@ -244,6 +244,7 @@
|
||||||
.perl-version
|
.perl-version
|
||||||
.php-version
|
.php-version
|
||||||
.tool-versions
|
.tool-versions
|
||||||
|
.mise.toml
|
||||||
.shorten_folder_marker
|
.shorten_folder_marker
|
||||||
.svn
|
.svn
|
||||||
.terraform
|
.terraform
|
||||||
|
|
2
font.md
2
font.md
|
@ -78,6 +78,8 @@ If you are using a different terminal, proceed with manual font installation.
|
||||||
*Use these personal options* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
*Use these personal options* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
||||||
To change the font for the remote host connections, go to *Preferences → Terminal Options →
|
To change the font for the remote host connections, go to *Preferences → Terminal Options →
|
||||||
Look and Feel* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
Look and Feel* and change *Font:* under *Terminal UI* to `MesloLGS NF Regular`.
|
||||||
|
- **Warp**: Open Warp and Navigate to *Settings* then *Appearance*. Scroll down to *Text* Section
|
||||||
|
and under *"Terminal Font"*, select the `MesloLGS NF` font.
|
||||||
- **WSLtty**: Right click on an open terminal and then on *Options*. In the *Text* section, under
|
- **WSLtty**: Right click on an open terminal and then on *Options*. In the *Text* section, under
|
||||||
*Font*, click *"Select..."* and set Font to `MesloLGS NF Regular`.
|
*Font*, click *"Select..."* and set Font to `MesloLGS NF Regular`.
|
||||||
- **Yakuake**: Click *≡* → *Manage Profiles* → *New* → *Appearance*. Click *Choose* next to the
|
- **Yakuake**: Click *≡* → *Manage Profiles* → *New* → *Appearance*. Click *Choose* next to the
|
||||||
|
|
|
@ -5810,15 +5810,19 @@ 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
|
||||||
local cmd
|
if [[ -r /proc/sys/kernel/arch ]]; then
|
||||||
for cmd in machine arch; do
|
text=$(</proc/sys/kernel/arch)
|
||||||
(( $+commands[$cmd] )) || continue
|
else
|
||||||
if text=$(command -- $cmd) 2>/dev/null && [[ $text == [a-zA-Z][a-zA-Z0-9_]# ]]; then
|
local cmd
|
||||||
break
|
for cmd in machine arch; do
|
||||||
else
|
(( $+commands[$cmd] )) || continue
|
||||||
text=
|
if text=$(command -- $cmd) 2>/dev/null && [[ $text == [a-zA-Z][a-zA-Z0-9_]# ]]; then
|
||||||
fi
|
break
|
||||||
done
|
else
|
||||||
|
text=
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
state=_${${(U)text}//İ/I}
|
state=_${${(U)text}//İ/I}
|
||||||
_p9k_cache_ephemeral_set "$state" "$text"
|
_p9k_cache_ephemeral_set "$state" "$text"
|
||||||
fi
|
fi
|
||||||
|
@ -9553,7 +9557,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
|
||||||
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
|
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
typeset -g P9K_VERSION=1.20.13
|
typeset -g P9K_VERSION=1.20.14
|
||||||
|
|
||||||
if [[ ${VSCODE_SHELL_INTEGRATION-} == <1-> && ${+__p9k_force_term_shell_integration} == 0 ]]; then
|
if [[ ${VSCODE_SHELL_INTEGRATION-} == <1-> && ${+__p9k_force_term_shell_integration} == 0 ]]; then
|
||||||
typeset -gri __p9k_force_term_shell_integration=1
|
typeset -gri __p9k_force_term_shell_integration=1
|
||||||
|
|
Loading…
Reference in a new issue