Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Ze.sh

a z.sh-derived directory jumper that uses an event clock

Details

External ID
48628795
Source
HN
Company
—
Product
Ze.sh
Website domain
github.com
Launched
June 22, 2026
Cohort
—
Upvotes
5
Upvotes percentile
0.12568306010928962
Tags
—
Fetched at
Sept. 7, 2026, 9:26 p.m.
Updated at
Sept. 7, 2026, 9:26 p.m.

Description

z.sh and zoxide (and other frecency-based directory jumpers) couple score decay to wall-clock time. After any extended period of inactivity (e.g. holidays) the first directories visited on return dominate the ranking regardless of prior history, and the tool effectively has to relearn ranking from subsequent navigation.The underlying issue is that wall-clock time during shell inactivity carries no information about directory relevance. ze.sh replaces wall-clock time with an event clock that advances one tick per cd action. Scores decay only while navigation is occurring. Inactive periods leave scores unchanged.ze.sh also replaces the traditional frecency heuristic ([visit count] * recency) with an exponential moving sum over the event series (mathematically closely related to the exponential smoothing used for Unix load averages). This avoids a separate ranking artifact where a long-dormant directory with a large historical visit count jumps to the top on first revisit.The implementation is a single shell file, compatible with bash, zsh, ksh93, and mksh. The database format extends z.sh's format with one additional field, the timestamp field is repurposed to hold the event clock counter.A related project of mine, SD, also uses the event clock and exponential moving sum paradigms but stores the full event history rather than aggregate state. ze.sh explores how far the same ideas can be pushed while remaining close to the original z.sh design.I would be interested in hearing whether others have run into the "inactivity-cliff" behaviour, and whether there are solutions to the problem that I have not considered.

Enrichment

Theme
system maintenance and file utilities
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
directory jumper with event clock
Manually corrected
False

Could you build this?

Yes A shell script or small CLI utility that replaces z.sh's wall-clock decay with an event-counter clock is a focused algorithmic tweak that AI assistants can write quickly.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one — 46 launches clear the similarity bar, closest 8 shown.

Attention rank: #42 of 47 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 227 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.