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

Uploaded Source

Built Distribution

xontrib_cmd_done-0.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file xontrib-cmd-done-0.2.0.tar.gz.

File metadata

  • Download URL: xontrib-cmd-done-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 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

Hashes for xontrib-cmd-done-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6deea1b454196fef388f6ea2a840bae6e49049c6e6a6dc6e5b6b590d691f36bb
MD5 cf19ea74f17c2d4131bea59df9a2ad58
BLAKE2b-256 647b8d7fcd28704be9359e031b4fa8d63e729d6c52c4604478559fc4c87f5268

See more details on using hashes here.

File details

Details for the file xontrib_cmd_done-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: xontrib_cmd_done-0.2.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

Hashes for xontrib_cmd_done-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08a83b05d9b1ebc8c8d0efc156da969f7dd89337ce503330fb29cf9fbb3beb06
MD5 9b9d3d14e9609259042dcb6e61754330
BLAKE2b-256 6663b41cc49e869f0532420ddc7b1e8cae0492b8699dd5c728d539fcaaaf781c

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