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
Built Distribution
File details
Details for the file xontrib-cmd-done-0.1.0.tar.gz
.
File metadata
- Download URL: xontrib-cmd-done-0.1.0.tar.gz
- Upload date:
- Size: 3.3 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 | 59c75d3802eeae2d8584462343007c17ea3d99537ce3428dbdd0991d8c9377fb |
|
MD5 | 4f94cc1db2c14241f914a73cfa0143b6 |
|
BLAKE2b-256 | 1c169b9759fb32b226c76bdbfa6977d75b4cd48ddaef9a039ac259b4b30818b6 |
File details
Details for the file xontrib_cmd_done-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: xontrib_cmd_done-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 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 | 0a460551e7b3b3f82991a875a9bbf2195220315a0591f5ca98937a781adc701a |
|
MD5 | 9ffd86f5fde25d571a5c148eeab3f464 |
|
BLAKE2b-256 | 8c3f655bb60c7bc261c5805e6164cab064dde7d4a3f847795452d8b4bc56d730 |