Powerful cd command with fuzzy-search tool.
It's similar with enhancd, but faster and more lightweight.
First, you need to install fzf for fuzzy searching.
Second, you can install ripgrep.
This is optional, but recommended. If don't have ripgrep, you can set $ICD_GREP to grep like this:
export ICD_GREP=grepicd will fall back to use grep command instead of rg.
Run this command:
git clone https://github.com/g-plane/icd.git $ZSH_CUSTOM/plugins
Then, update your .zshrc like this:
plugins=(
# ... your other plugins
+ icd
)Update your .zshrc with following line:
zinit light g-plane/icdUpdate your .zshrc with following line:
zplug "g-plane/icd"Copy icd.fish to ~/.config/fish/functions directory.
Then, add alias to your ~/.config/fish/config/config.fish:
alias cd icdMIT License
2020-present (c) Pig Fang
