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

Add font configuration instructions for WezTerm (#1313)

This commit is contained in:
Daniel 2021-03-21 17:03:53 +01:00 committed by GitHub
parent 7d786b9c50
commit 58f5470cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -582,6 +582,15 @@ applications on your system. Configure your terminal to use this font:
font_family MesloLGS NF font_family MesloLGS NF
``` ```
Restart Kitty by closing all sessions and opening a new session. Restart Kitty by closing all sessions and opening a new session.
- **WezTerm**: Create or open `$HOME/.config/wezterm/wezterm.lua` and add the following:
```lua
local wezterm = require 'wezterm';
return {
font = wezterm.font("MesloLGS NF"),
}
```
If the file already exists, only add the line with the font to the existing return.
Also add the first line if it is not already present.
**IMPORTANT:** Run `p10k configure` after changing terminal font. The old `~/.p10k.zsh` may work **IMPORTANT:** Run `p10k configure` after changing terminal font. The old `~/.p10k.zsh` may work
incorrectly with the new font. incorrectly with the new font.