Skip to content

Installation

Before installing my-fzf, ensure you have these tools:

ToolPurposeRequired
fzfFuzzy finderYes
fdFile/directory searchYes
rg (ripgrep)Content searchYes
batFile previewYes
zoxideSmart cdYes
nvimOpen files in editorNo
  1. Run the install script:

    Terminal window
    curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/install.sh | bash

    This clones the repo to ~/my-fzf and adds source ~/my-fzf/my-fzf.sh to your .bashrc.

  2. Reload your shell:

    Terminal window
    source ~/.bashrc
  3. Verify the installation:

    Terminal window
    type fcf

    You should see fcf is a function.

  1. Clone the repository:

    Terminal window
    git clone https://github.com/mayknxyz/my-fzf.git ~/my-fzf
  2. Add the source line to your .bashrc:

    Terminal window
    echo 'source ~/my-fzf/my-fzf.sh' >> ~/.bashrc
  3. Reload your shell:

    Terminal window
    source ~/.bashrc

Pull the latest changes:

Terminal window
curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/update.sh | bash

Or manually:

Terminal window
cd ~/my-fzf && git pull --ff-only

Then reload your shell: source ~/.bashrc

Terminal window
curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/uninstall.sh | bash

Or manually: remove the source ~/my-fzf/my-fzf.sh line from your .bashrc and delete ~/my-fzf.

  • my-fzf: required dependency 'X' not found — Install the missing dependency. See Dependencies.
  • Commands not found after install — Make sure you reloaded your shell with source ~/.bashrc.
  • fcf doesn’t work but other commands do — Check that fd and fzf are both installed and on your PATH.