tldr/pages.zh/common/alacritty.md

25 lines
648 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# alacritty
> 跨平台GPU 加速的终端模拟器。
> 更多信息:<https://github.com/alacritty/alacritty>.
- 打开一个新的 Alacritty 窗口:
`alacritty`
- 运行在指定目录中:
`alacritty --working-directory {{路径}}`
- 在新的 Alacritty 窗口中运行命令:
`alacritty -e {{命令}}`
- 指定备用配置文件(默认在 `$XDG_CONFIG_HOME/alacritty/alacritty.yml`
`alacritty --config-file {{路径/config.yml}}`
- 在启用实时配置重新加载的情况下运行(默认情况下也可以在 `alacritty.yml` 中启用):
`alacritty --live-config-reload --config-file {{路径/config.yml}}`