A shell-native cd-compatible directory jumper using power-law frecency
I have used this tool privately since 2011 to manage directory jumping. While it is conceptually similar to tools like z or zoxide, the underlying ranking model is different. It uses a power-law convolution with the time series of cd actions to calculate a history-aware "frecency" metric instead of the standard heuristic counters and multipliers. This approach moves away from point-estimates for recency. Most tools look only at the timestamp of the last visit, which can allow a "one-off" burst of activity to clobber long-term habits. By convolving a configurable history window (typically the…
A shell-native cd-compatible directory jumper using power-law frecency launched on March 4, 2026 with 26 votes, #808 of 23,380 launches that month and more than 95% of that year's launches.
In plain words
This shell-native directory jumper helps users navigate frequently-used folders by learning from their cd history. It ranks directories using a power-law frecency model that considers patterns across hundreds of past actions rather than just the most recent visit, preventing occasional bursts of activity from disrupting long-term navigation habits. Query responses complete in 20-30 milliseconds, remaining fast enough for seamless shell integration. The tool has been privately maintained since 2011 and is designed for developers and power users who frequently switch between multiple project directories.
written from the facts on this page · September 2026
From the sources
cd replacement with pattern matching and explicit "frecency" scoring over recorded visit history. - jghub/sd-switchdir
SD is a directory navigation utility for ksh93u+, bash $\ge$ 4.2, and zsh $\ge$ 4.3, using frequency–recency tracking over an explicit visit history. Ksh-compatibility options are enabled: extglob in bash; KSH_ARRAYS , KSH_GLOB , POSIX_BUILTINS , and SH_WORD_SPLIT in zsh. Note: This project is unrelated to the Rust-based sd text replacement tool. This repository is a read-only snapshot mirror containing tagged stable states. Issues are monitored, and pull requests may be considered for manual integration. SD provides the sd command, designed to act as a drop-in replacement for cd for pathname arguments. In addition, it supports pattern-based directory selection from a dynamically ranked…from github.com
In the maker’s words, at launch
I have used this tool privately since 2011 to manage directory jumping. While it is conceptually similar to tools like z or zoxide, the underlying ranking model is different. It uses a power-law convolution with the time series of cd actions to calculate a history-aware "frecency" metric instead of the standard…
Does a similar job
all alternatives →
I made an ls alternative for my personal use2024 · github.com · ▲197blazing fast `ls` replacement with superpowers. Contribute to chaqchase/lla development by creating an account on GitHub.
A simple, fast and user-friendly alternative to find, written in Rust2017 · github.com · ▲456A simple, fast and user-friendly alternative to 'find' - sharkdp/fd
Ze.sh – a z.sh-derived directory jumper that uses an event clockJun 2026 · github.com · ▲5z.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…

A context-aware permission guard for Claude CodeMar 2026 · github.com · ▲127We needed something like --dangerously-skip-permissions that doesn’t nuke your untracked files, exfiltrate your keys, or install malware. Claude Code's permission system is allow-or-deny per tool, but that doesn’t really scale. Deleting some files is fine sometimes. And git checkout is sometimes not fine. Even when you curate permissions, 200 IQ Opus can find a way around it. Maintaining a deny list is a fool's errand. nah is a PreToolUse hook that classifies every tool call by what it actually does, using a deterministic classifier that runs in milliseconds. It maps commands to action types…
Nav – A terminal navigator for interactive `ls` workflows2023 · github.com · ▲75Hi Everyone, I built a tool for interactive navigation in the terminal that is intended to replace the all-too-familiar cycle of `ls` to view a directory, followed by `cd`, then `ls`, and repeat. nav is a terminal filesystem explorer built for interactive `ls` workflows. The key features I wanted to enable are interactivity and search without feeling like I'm using anything other than `ls`. nav supports common `ls` options/flags, as well as tab completion, and might expand its support for less common options in the future. These options exist as both CLI flags and interactive toggles.…
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2026
the whole month →


Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com
Littlebird▲709Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.
AI · Mar 2026 · littlebird.ai

