bash-history-done-right
Python package to implement https://abarry.org/bash-history-finally-done-right/
Fixes bash history to:
- Share history across terminals (union of all terminals' history in a new terminal)
- Keep each terminal's own history while it is open
- Search history by prefix with up/down arrow keys
- Keep all history forever in
~/.bash_eternal_history
Install
pip install bash-history-done-right
That's it. Your ~/.bashrc is patched automatically (a backup is saved to ~/.bashrc.bak). Open a new terminal to use it.
Uninstall
bash-history-done-right uninstall
pip uninstall bash-history-done-right
Re-install / customize
# Re-install (e.g. after editing .bashrc)
bash-history-done-right install
# Install without arrow-key prefix search
bash-history-done-right install --no-arrow-search
# Install without eternal history file
bash-history-done-right install --no-eternal-history
Publishing to PyPI
Only upload the sdist (no wheel) so that setup.py runs on the user's machine:
python -m build --sdist
twine upload dist/*
Metadata
Release files for bash-history-done-right 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bash_history_done_right-1.0.1.tar.gz | 7.2 kB | Without provenance | Details for bash_history_done_right-1.0.1.tar.gz |
Release files / bash_history_done_right-1.0.1.tar.gz
| Download URL | bash_history_done_right-1.0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ec90f923f7c06722a3bd8a81b4022a36a1f3c1b07a773e4171468821e56c0f9
|
|
BLAKE2b-256 checksum How to use checksums |
4dcc41374e64eeb0664bdd280f43a7c6d60fde4f4cb5696d8c464fbf013d7dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for bash-history-done-right 1.0.1
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.