Skip to main content

history

Bash history command colorized on levenshtein distance of last 10 commands

The history command is measured against the previous command in the list and it it’s the same or almost the same it’s printed in grey. Duplicates are also grey.

###.bash_profile

# Avoid duplicates
export HISTCONTROL=ignoredups:erasedups

# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend

# After each command, append to the history file and reread it
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"

#alias to script
alias hist='python ~/workspace/history/history.py'

screenshot

history

history

Metadata

Release files for historybash 20

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

Source distribution (sdist)

Source distribution for historybash 20
File Size Uploaded Provenance Actions
historybash-20.tar.gz 2.8 kB Without provenance Details for historybash-20.tar.gz

Release files / historybash-20.tar.gz

Download URL historybash-20.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d4c7eb31b68bc52fb9a0811dc2d6e8aa2bd0fcad5da069b707465a7ca4a925d3
BLAKE2b-256 checksum
How to use checksums
647b25df5938829a8b5326eaa5e48e3b52759cfd046b401af0a9e3b54ad14dea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for historybash 20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

20 This release

1 release file No provenance

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