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
Built Distribution
File details
Details for the file xontrib-term-integrations-0.2.0.tar.gz
.
File metadata
- Download URL: xontrib-term-integrations-0.2.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.3 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1fc4eb4d18f3568ae501b622e00112ea22729d907e148bca120113a64afe860 |
|
MD5 | a2e427e1c2f25b2551c801b1a0a22920 |
|
BLAKE2b-256 | 9108c98ec7101bf09945681f2f114c7d43d4160e5a399179f4a399337f70d89a |
File details
Details for the file xontrib_term_integrations-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: xontrib_term_integrations-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.3 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc55f4a1885361349d1a5a39aa6f44abc080e318355335bc14e7ea28c5b30776 |
|
MD5 | d2929f1047bb40e69ee48a00f153abe9 |
|
BLAKE2b-256 | 0edf76f0d98fb67267124f498b0da6b598939e85d5ef9aad49c3476929395ea0 |