Send notification once long running command is finished. Add duration PROMP_FIELD.
Project description
Send notification once long running command is finished. Add duration PROMP_FIELD.
If you like the idea click ⭐ on the repo and stay tuned.
Installation
To install use pip:
xpip install xontrib-cmd-done
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-cmd-done
Usage
xontrib load cmd_done
Examples
$RIGHT_PROMPT = '{long_cmd_duration:⌛{}}{user:{{BOLD_RED}}🤖{}}{hostname:{{BOLD_#FA8072}}🖥{}}'
Credits
This package was created with xontrib cookiecutter template.
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-cmd-done-0.2.1.tar.gz
(644.8 kB
view details)
Built Distribution
File details
Details for the file xontrib-cmd-done-0.2.1.tar.gz
.
File metadata
- Download URL: xontrib-cmd-done-0.2.1.tar.gz
- Upload date:
- Size: 644.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.9.1-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06bcf6869490c44e1d8c18694ef134e8235b6ce6b66b0f5527be20ee3af63abe |
|
MD5 | efd9bfd327237fbbf4c02f444843d25a |
|
BLAKE2b-256 | 24baa171fbe344d4bea43fc5bcc242cad510237da8a807280f9d9a12c5d1f12e |
File details
Details for the file xontrib_cmd_done-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: xontrib_cmd_done-0.2.1-py3-none-any.whl
- Upload date:
- Size: 647.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.9.1-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027f1a9e606311b7201edea1d3d2f8171ea9aa92f1809c4bce1757ea0a61e0a4 |
|
MD5 | 2721493d7963c80f511ccf7abc12f2d4 |
|
BLAKE2b-256 | 04f12fe784ef10974e1c42695894ce0fc4baf65f5262149550ddbdad3f164915 |