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

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

Note: This PR is needed for this to work. As of today(Mar 3, 2022), it is not released yet. So you have to install xonsh from the github like pipx install git+https://gitlab.com/xonsh/xonsh/.

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.1.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: xontrib-term-integrations-0.1.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.4.0

File hashes

Hashes for xontrib-term-integrations-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b31b178b5a4741bff139073b77d64ca057c59fd98bb0fbfbdb830e3b5cae68cf
MD5 8a4ba81b96946f0e263198defff028fc
BLAKE2b-256 1553e3abb26e3ef71c8bf13b75c751e2aeab037a6e2acbc900e0735354806a0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xontrib_term_integrations-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce9fc990022390c9768c8f99f87d207516f18ed8e0bd77d1e32f0f03b223d1c8
MD5 cdd8ff5b11691ee531f84d8fb7e24356
BLAKE2b-256 c70759a304e0a42fcc1ae5a85af7875e1f403fabc3aaf24358a798fab4942b7a

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