/icd

Powerful `cd` command with fuzzy-search tool.

Primary LanguageShellMIT LicenseMIT

icd

Powerful cd command with fuzzy-search tool.

It's similar with enhancd, but faster and more lightweight.

Requirements

First, you need to install a fuzzy-search tool. We support:

You just need to install one of them.

Second, you need to install a grep tool. We support:

  • ripgrep (recommended)
  • grep (available in most OSes)

You just need to install one of them.

Install

Oh My Zsh

Run this command:

git clone https://github.com/g-plane/ich.git $ZSH_CUSTOM/plugins

Then, update your .zshrc like this:

plugins=(
  # ... your other plugins
+ icd
)

zinit

Update your .zshrc with following line:

zinit light g-plane/icd

zplug

Update your .zshrc with following line:

zplug "g-plane/icd"

License

MIT License

2020-present (c) Pig Fang