Metadata-Version: 2.1
Name: zhis
Version: 0.1.0
Summary: zhis: Command history with a database twist.
License: MIT
Author: Norbert Batiuk
Author-email: norbert@batiuk.se
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: click (==8.1.8)
Requires-Dist: marshmallow-dataclass (==8.7.1)
Requires-Dist: peewee (==3.17.8)
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
Requires-Dist: textual (==1.0.0)
Description-Content-Type: text/markdown

# Zsh History

[![GitHub Release](https://img.shields.io/github/v/release/nobbmaestro/zhis)](github-release)
[![GitHub last commit](https://img.shields.io/github/last-commit/nobbmaestro/zhis/development)](github-last-commit)
[![GitHub commits since](https://img.shields.io/github/commits-since/nobbmaestro/zhis/v0.1.0/development)](githut-commits-since)
![License](https://img.shields.io/github/license/nobbmaestro/zhis)

zhis: Command history with a database twist

`TODO: Add short demo video`

## Table of contents

- [Installation](#installation)
  - [Install via pipx](#pipx)
  - [Install via pip](#pip)
  - [Manual](#manual)
  - [Configure zsh](#configure-zsh)
- [Feature Roadmap](#feature-roadmap)
- [Customization](#customization)
- [Alternatives](#alternatives)

## Installation

### Pipx (Recommended)

```sh
pipx install zhis
```

### Pip

```sh
pip install zhis
```

### Manual

```sh
git clone git@github.com:nobbmaestro/zhis.git
cd zhis
make
```

## Configure zsh

```sh
echo 'eval "$(zhis init zsh)"' >> ~/.zshrc
```

## Feature Roadmap

- [x] Customizable GUI theme
- [x] Support for inline GUI mode
- [ ] Edit history entries via GUI
- [ ] Delete history entries via GUI
- [ ] Delete selected history entries via GUI
- [ ] Copy to clipboard via GUI
- [ ] Fuzzy-finder search strategy in GUI
- [ ] Filter history by context via GUI
- [ ] Add doctor CLI command for verifying shell configuration
- [ ] Add prune CLI command for removing history based on ignore pattern
- [ ] Add generate shell-completions CLI command
- [ ] Add export CLI command for exporting to HISTFILE
- [ ] Add support for command execution duration
- [ ] Customizable keybindings

## Customization

Check out the [configuration docs](docs/config.md).

## Alternatives

If you find that `zhis` does not quite satisfy your needs, following may be a better fit:

- [Atuin](https://github.com/atuinsh/atuin)

