跳转到主要内容

支持终端程序iTterm2、Kitty等壳集成

项目描述

终端模拟器集成

Shell集成 for Xonsh。

以下终端模拟器得到支持

  • iTerm2
  • kitty
  • WezTerm with CWD; Input, Output, and Prompt zones; and User Vars for tracking additional shell state

注意:如果无法识别当前终端,将加载钩子。

欢迎提交改进更多终端程序的PR :)

安装

使用pip安装

xpip install xontrib-term-integrations
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-term-integrations

使用方法

# this modifies the $PROMPT function. So load it after setting $PROMPT if you have a custom value
xontrib load term_integration

贡献

请确保您

  • 记录函数和类的用途。
  • 当添加新功能时,请在README.md中提及它。如有适用,请使用截图。
  • 请使用Conventional Commit样式为提交消息,因为它用于生成更改日志。
  • 请使用pre-commit运行qa检查。使用以下命令配置它
pre-commit install-hooks

由以下支持

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误日志StatusPageStatusPage状态页面