Skip to main content

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.2.tar.gz (644.9 kB view hashes)

Uploaded Source

Built Distribution

xontrib_cmd_done-0.2.2-py3-none-any.whl (647.6 kB view hashes)

Uploaded Python 3

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