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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xontrib-cmd-done-0.2.2.tar.gz
  • Upload date:
  • Size: 644.9 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.2.tar.gz
Algorithm Hash digest
SHA256 bc99678f846af12f04c3d830e32b3a1fb2ff0db2288868efcc691cd99ae041f5
MD5 a3148703cf553fce26d6c53c37dd3823
BLAKE2b-256 ca5fc16e4234a1658b3c41047ccf473abaea82a6032e60cf7258f4804bb3b621

See more details on using hashes here.

File details

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

File metadata

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

Hashes for xontrib_cmd_done-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26d65c6130e3d85569d3b2a12c48eebb834a22eb38c9922b8b437b79dc4f96e8
MD5 9c18db98368a39a805ff371fcc0ec455
BLAKE2b-256 357ba9c6ba96d29d709b1e1bc0cd205f51e73878b6b0a831228f579d63f729d5

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