← Back to Product Feed

Hacker News Show HN: Ze.sh – a z.sh-derived directory jumper that uses an event clock

An improved directory jumper that solves the 'inactivity-cliff' problem of frecency-based tools by using an event clock and exponential moving sum for score decay.

5
Traction Score
0
Discussions
Jun 22, 2026
Launch Date
View Origin Link

Product Positioning & Context

AI Executive Synthesis
An improved directory jumper that solves the 'inactivity-cliff' problem of frecency-based tools by using an event clock and exponential moving sum for score decay.
This addresses a specific, long-standing usability pain point for command-line power users: the degradation of directory jumper relevance scores after periods of inactivity. By replacing wall-clock time with an 'event clock' and an 'exponential moving sum,' ze.sh provides a more consistent and accurate ranking of frequently accessed directories. This enhances developer productivity by ensuring relevant directories remain easily accessible, reducing navigation friction. The project's focus on a single shell file and broad compatibility demonstrates a commitment to lightweight, robust tooling. This highlights a market for highly refined, specialized developer utilities that optimize fundamental command-line workflows.
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.
z.sh zoxide frecency-based directory jumpers wall-clock time event clock cd action exponential moving sum exponential smoothing

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Ze.sh – a z.sh-derived directory jumper that uses an event clock?
Ze.sh – a z.sh-derived directory jumper that uses an event clock is analyzed by our AI as: An improved directory jumper that solves the 'inactivity-cliff' problem of frecency-based tools by using an event clock and exponential moving sum for score decay.. It focuses on This addresses a specific, long-standing usability pain point for command-line power users: the degradation of directory jumper relevance scores af...
Where did Ze.sh – a z.sh-derived directory jumper that uses an event clock originate?
Data for Ze.sh – a z.sh-derived directory jumper that uses an event clock was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Ze.sh – a z.sh-derived directory jumper that uses an event clock publicly launched?
The initial public indexing or launch date for Ze.sh – a z.sh-derived directory jumper that uses an event clock within our tracked developer communities was recorded on June 22, 2026.
How popular is Ze.sh – a z.sh-derived directory jumper that uses an event clock?
Ze.sh – a z.sh-derived directory jumper that uses an event clock has achieved measurable traction, logging over 5 traction score and facilitating 0 recorded discussions or engagements.
Which technical categories define Ze.sh – a z.sh-derived directory jumper that uses an event clock?
Based on metadata extraction, Ze.sh – a z.sh-derived directory jumper that uses an event clock is categorized under topics such as: z.sh, zoxide, frecency-based directory jumpers, wall-clock time.
How does the creator describe Ze.sh – a z.sh-derived directory jumper that uses an event clock?
The original author or development team describes the product as follows: "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 d..."

Community Voice & Feedback

No active discussions extracted yet.

Discovery Source

Hacker News Hacker News

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.