# z
> Directory changer based on aging and frecency

## Summary
Tracks your most-visited directories and lets you jump to them by typing partial name matches, ranked by frequency and recency.

## Capabilities
- Jump to frequently and recently used directories with partial name matching
- Tracks directory usage over time using frecency algorithm
- Supports regex patterns for directory matching
- Works as a shell function sourced into bash or zsh

## When to Use
- User frequently navigates to the same set of directories
- User wants to reduce keystrokes for cd commands
- User needs quick directory switching without remembering full paths

## When NOT to Use
- User prefers a more feature-rich alternative like zoxide
- User needs cross-shell sync of directory history

## Related Tools
- [zoxide](/tools/zoxide) (alternative): zoxide is a modern Rust rewrite inspired by z

---
Source: https://littlescripts.sh/tools/z
