跳转到主要内容

支持终端程序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

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪一个,请了解有关安装包的更多信息

源代码发行版

xontrib-term-integrations-0.2.0.tar.gz (9.5 kB 查看哈希值)

上传时间 源代码

构建发行版

xontrib_term_integrations-0.2.0-py3-none-any.whl (11.2 kB 查看哈希值)

上传时间 Python 3

由以下支持

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