Skip to main content

Support shell integration of terminal programs iTerm2, Kitty...

Project description

Terminal Emulators integration

Shell integration for Xonsh.

The following terminal emulators are supported

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

Note: If identifying current terminal fails, iTerm2 hooks are loaded.

PRs welcome on improving the support to more terminal programs :)

Installation

To install use pip:

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

Usage

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

Contributing

Please make sure that you

  • Document the purpose of functions and classes.
  • When adding a new feature, please mention it in the README.md. Use screenshots when applicable.
  • Conventional Commit style should be used for commit messages as it is used to generate changelog.
  • Please use pre-commit to run qa checks. Configure it with
pre-commit install-hooks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib-term-integrations-0.2.0.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

xontrib_term_integrations-0.2.0-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page