Metadata-Version: 2.4
Name: bash-history-done-right
Version: 1.0.1
Summary: Fix bash history to share between terminals, search by prefix, and keep history forever
Author: Andrew Barry
License: BSD-3-Clause
Project-URL: Homepage, https://abarry.org/bash-history-finally-done-right/
Project-URL: Repository, https://github.com/andybarry/bash-history-finally-done-right
Keywords: bash,history,shell,terminal
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Shells
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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

```bash
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
bash-history-done-right uninstall
pip uninstall bash-history-done-right
```

## Re-install / customize

```bash
# 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:

```bash
python -m build --sdist
twine upload dist/*
```
