简单分享一下终端配置

2026-04-11 11:420阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

最近将原本的 Iterm2 + Oh My Zsh 更换为 Ghostty + zinit 配置终端,在使用的过程中优化了一下体验,给大家分享出来作为参考:

  1. 终端配置:

Ghostty的配置是以文件形式存储在$HOME/Library/Application Support/com.mitchellh.ghostty/文件下的,修改或者更新配置通过快捷键 cmd + ,使用默认程序打开配置文件,全部的配置选项在: Option Reference - Configuration 可以查看
贴出我的配置:

# --- Typography --- font-family = "Maple Mono NF CN" font-size = 18 adjust-cell-height = 2 # --- Theme and Colors --- theme = Catppuccin Mocha # --- Window and Appearance --- background-opacity = 0.95 background-blur-radius = 30 macos-titlebar-style = transparent window-padding-x = 10 window-padding-y = 8 window-save-state = always window-theme = auto # --- Cursor --- cursor-style = bar cursor-style-blink = true cursor-opacity = 0.8 # --- Mouse --- mouse-hide-while-typing = true copy-on-select = clipboard # --- Quick Terminal --- keybind = global:ctrl+grave_accent=toggle_quick_terminal quick-terminal-position = center

阅读全文
标签:纯水
问题描述:

最近将原本的 Iterm2 + Oh My Zsh 更换为 Ghostty + zinit 配置终端,在使用的过程中优化了一下体验,给大家分享出来作为参考:

  1. 终端配置:

Ghostty的配置是以文件形式存储在$HOME/Library/Application Support/com.mitchellh.ghostty/文件下的,修改或者更新配置通过快捷键 cmd + ,使用默认程序打开配置文件,全部的配置选项在: Option Reference - Configuration 可以查看
贴出我的配置:

# --- Typography --- font-family = "Maple Mono NF CN" font-size = 18 adjust-cell-height = 2 # --- Theme and Colors --- theme = Catppuccin Mocha # --- Window and Appearance --- background-opacity = 0.95 background-blur-radius = 30 macos-titlebar-style = transparent window-padding-x = 10 window-padding-y = 8 window-save-state = always window-theme = auto # --- Cursor --- cursor-style = bar cursor-style-blink = true cursor-opacity = 0.8 # --- Mouse --- mouse-hide-while-typing = true copy-on-select = clipboard # --- Quick Terminal --- keybind = global:ctrl+grave_accent=toggle_quick_terminal quick-terminal-position = center

阅读全文
标签:纯水