Metadata-Version: 2.4
Name: shellmatepy
Version: 0.1.0
Summary: A fish-like terminal shell with autocomplete, in Python
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: prompt_toolkit>=3.0

# shellmate

A fish-like terminal shell in Python — smart autocomplete, fish-style gray
suggestions, and a colorful prompt, installable with pip.

## Install

```bash
pip install shellmate
```

Or from source:

```bash
git clone <repo> && cd shellmate && pip install -e .
```

## Usage

```bash
shellmate
```

You get a `shellmate ❯` prompt with:

- **Command autocomplete** — Tab on the first word lists every command on your `PATH`.
- **Folder/file autocomplete** — Tab on any argument completes paths from your cwd (walks into dirs: `cd src/s` → `src/shellmate/`).
- **Tab expand + arrow navigation** — Tab opens a dropdown list; Up/Down move through it, Enter picks.
- **Gray closest-word suggestion** — as you type, the closest known command appears in gray; press Right (→) to accept.
- **History** — commands persist to `~/.shellmate_history` and feed both completions and suggestions.

## Builtins

`cd`, `pwd`, `exit`/`quit`. Everything else runs as a normal command.

## Keys

| Key | Action |
|-----|--------|
| Tab | Open/expand completion list |
| ↑ / ↓ | Navigate completion list |
| → | Accept gray suggestion |
| Ctrl+C | Clear current line |
| Ctrl+D | Exit shellmate |
