Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. ZSH Plugins
  3. directory-history

directory-history

Shell

A Zsh plugin that provides directory-sensitive command history navigation and substring search.

GitHubGitHub
162 stars15 forks0 contributors

What is directory-history?

zsh-directory-history is a Zsh plugin that enhances the shell's command history by making it sensitive to the current working directory. It allows users to navigate and search through command history with priority given to commands executed in the current directory, reducing clutter and improving productivity.

Target Audience

Zsh users, particularly developers and system administrators who work across multiple directories or projects and want a more context-aware command history.

Value Proposition

It provides a smarter, directory-aware history that surfaces relevant commands faster than the default global history, with integrated substring search and customizable key bindings for seamless navigation.

Overview

Giving you a history which is sensitive to the directory you are currently in

Use Cases

Best For

  • Zsh users who frequently switch between project directories
  • Developers working on multiple codebases who want context-specific command history
  • System administrators managing servers with different configuration directories
  • Users who want faster access to recently used commands in their current working directory
  • Power shell users looking to enhance their terminal workflow with intelligent history navigation
  • Teams who want to maintain separate command histories for different projects or environments

Quick Stats

Stars162
Forks15
Contributors0
Open Issues4
Last commit6 years ago
CreatedSince 2014

Tags

#productivity#shell-scripting#terminal#zsh-plugin#keyboard-shortcuts#command-line#shell-history

Built With

S
Shell Script
z
zsh

Included in

ZSH Plugins17.6k
Auto-fetched 1 day ago

Related Projects

zoxidezoxide

A smarter cd command. Supports all major shells.

Stars37,283
Forks824
Last commit18 days ago
zsh-autosuggestionszsh-autosuggestions

Fish-like autosuggestions for zsh

Stars35,649
Forks1,936
Last commit11 months ago
zsh-syntax-highlightingzsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.

Stars22,700
Forks1,374
Last commit4 months ago
autojumpautojump

A cd command that learns - easily navigate directories from the command line

Stars16,927
Forks710
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub