Skip to main content

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.

Metadata

Release files for xontrib-cmd-done 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xontrib-cmd-done 0.2.2
File Size Uploaded
xontrib-cmd-done-0.2.2.tar.gz 644.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xontrib-cmd-done 0.2.2
File Interpreter ABI Platform
xontrib_cmd_done-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / xontrib-cmd-done-0.2.2.tar.gz

Download URL xontrib-cmd-done-0.2.2.tar.gz
Size 644.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bc99678f846af12f04c3d830e32b3a1fb2ff0db2288868efcc691cd99ae041f5
BLAKE2b-256 checksum
How to use checksums
ca5fc16e4234a1658b3c41047ccf473abaea82a6032e60cf7258f4804bb3b621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Linux/5.9.1-1-MANJARO

Release files / xontrib_cmd_done-0.2.2-py3-none-any.whl

Download URL xontrib_cmd_done-0.2.2-py3-none-any.whl
Size 647.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26d65c6130e3d85569d3b2a12c48eebb834a22eb38c9922b8b437b79dc4f96e8
BLAKE2b-256 checksum
How to use checksums
357ba9c6ba96d29d709b1e1bc0cd205f51e73878b6b0a831228f579d63f729d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Linux/5.9.1-1-MANJARO

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page