Commit Briefs

678c47e7f9 mtmn

chore: release v0.5.0 (master)



5a25ead23c mtmn

typo


0e5962b955 mtmn

add build/ to gitignore


985b3e3c14 mtmn

just: add help and clean recipes


eacd995bde mtmn

docs: add builds badge


d2fbcb0129 mtmn

chore: release v0.4.0


99d3d81581 mtmn

build: streamline release script



424ad8dc60 mtmn

build: run tests


Branches

Tags

This repository contains no tags

Tree

.build.ymlcommits | blame
.gitignorecommits | blame
LICENSEcommits | blame
README.mdcommits | blame
build.zigcommits | blame
build.zig.zoncommits | blame
config.jsoncommits | blame
hack/
justfilecommits | blame
prek.tomlcommits | blame
src/
themes/

README.md

# magdalena
[![builds.sr.ht status](https://builds.sr.ht/~mtmn/magdalena.svg)](https://builds.sr.ht/~mtmn/magdalena?)

A command-line tool for interactive shell navigation and history.

## Features

- Interactive shell navigation
- Fuzzy finding integration
- Memcached integration
- Grep integration

## Dependencies

- Zig 0.16.0
- ripgrep
- fzf
- bat
- fd
- memcached (optional)

## Building

To build the project, run:

```sh
zig build -Doptimize=ReleaseSafe
```

## Usage

```
magdalena recent-dirs
magdalena recent-files
magdalena favorites
magdalena goto-dir
magdalena goto-file
magdalena log-dir <path>
magdalena log-file <path> [type] [action]
magdalena search <query>
magdalena look-file [--depth <n>]
magdalena look-dir [--depth <n>]
magdalena grep
```

### Options

- `-c`, `--clean`: Perform cleanup
- `-h`, `--help`: Show this help

### Example

```sh
# Run magdalena
./zig-out/bin/magdalena

# Show recent directories
./zig-out/bin/magdalena recent-dirs

# Search history
./zig-out/bin/magdalena search "myquery"

# Explore directory with depth 3
./zig-out/bin/magdalena look-dir --depth 3
```