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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file xontrib-term-integrations-0.2.0.tar.gz.

File metadata

File hashes

Hashes for xontrib-term-integrations-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a1fc4eb4d18f3568ae501b622e00112ea22729d907e148bca120113a64afe860
MD5 a2e427e1c2f25b2551c801b1a0a22920
BLAKE2b-256 9108c98ec7101bf09945681f2f114c7d43d4160e5a399179f4a399337f70d89a

See more details on using hashes here.

File details

Details for the file xontrib_term_integrations-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xontrib_term_integrations-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc55f4a1885361349d1a5a39aa6f44abc080e318355335bc14e7ea28c5b30776
MD5 d2929f1047bb40e69ee48a00f153abe9
BLAKE2b-256 0edf76f0d98fb67267124f498b0da6b598939e85d5ef9aad49c3476929395ea0

See more details on using hashes here.

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