Last active
April 5, 2025 16:44
-
-
Save krisstibex/335f4f2c341df86cd6dd196d0cca2ec6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
theme = light:catppuccin-latte,dark:catppuccin-mocha | |
# https://github.com/catppuccin/ghostty/tree/main/themes | |
term=xterm-256color | |
# 英文字体 https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/ComicShannsMono.zip | |
font-family = "ComicShannsMono Nerd Font" | |
# 中文字体 https://github.com/lxgw/LxgwWenKai-Screen/releases/download/v1.510/LXGWWenKaiMonoGBScreen.ttf | |
font-family = "LXGW WenKai Mono GB Screen" | |
background-opacity = 0.85 | |
confirm-close-surface = false | |
# 为了兼容性 请把以下内容加在zshrc末尾 | |
if [[ "$TERM_PROGRAM" == "ghostty" ]]; then | |
export TERM=xterm-256color | |
fi | |
# 如果你直接复制到ghostty配置里 请删除以上内容 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment