WezTerm 配置
开机启动
Windows Terminal 有图形配置界面,可以选择开机启动。如果需要开机自动运行 WezTerm,需要自己手动配置。
- 进入 WezTerm 安装目录,选中 wezterm-gui.exe 右键创建快捷方式,按照提示放置到桌面备用
Win + R
打开运行
,输入shell:startup
然后回车,打开C:\Users\Alowr\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
开机启动文件夹- 把位于桌面的
wezterm-gui.exe - 快捷方式
从桌面拖进上述开机启动文件夹
配置
WezTerm 使用 Lua 进行配置。
配置文件位置
bash
# 方式1 官方推荐
$HOME/.wezterm.lua
# 方式2 克隆他人的模块化配置
$HOME/.config/wezterm/
本系列文章采用第二种配置方式,配置的入口文件是 $HOME/.config/wezterm/wezterm.lua
,导入各个配置模块。
Here is the first tutorial for my wezterm config https://www.bilibili.com/video/av960845208/
- Create a foler if it is not already there
~\.config\
- Clone the configuration from other people
git clone --depth=1 https://github.com/KevinSilvester/wezterm-config.git wezterm
Font problem No fonts contain glyphs for these codepoints: \u{e6b4}.3