APP

Ghostty

2024-12-21

Ghostty 是一款快速、功能丰富且跨平台的终端模拟器,使用平台原生 UI 和 GPU 加速,而且开箱即用,

安装

可通过 [[Homebrew]] 安装:

Terminal window
brew install --cask ghostty

使用

快捷键

  • 打开配置:⌘ + ,
  • 重载配置:⌘ + Shift + ,

问题

missing or unsuitable terminal: xterm-ghostty

在通过 Ghostty 通过 ssh 远程服务器时,执行 [[tmux]] 命令时,会报错:missing or unsuitable terminal: xterm-ghostty,可通过在 Ghostty 配置文件中添加以下内容解决:

shell-integration-features = ssh-env

以上配置需要关闭 Ghostty 才能生效。

参考