Installation
Prerequisites
Section titled “Prerequisites”Before installing my-fzf, ensure you have these tools:
| Tool | Purpose | Required |
|---|---|---|
| fzf | Fuzzy finder | Yes |
| fd | File/directory search | Yes |
| rg (ripgrep) | Content search | Yes |
| bat | File preview | Yes |
| zoxide | Smart cd | Yes |
| nvim | Open files in editor | No |
Install (Script)
Section titled “Install (Script)”-
Run the install script:
Terminal window curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/install.sh | bashThis clones the repo to
~/my-fzfand addssource ~/my-fzf/my-fzf.shto your.bashrc. -
Reload your shell:
Terminal window source ~/.bashrc -
Verify the installation:
Terminal window type fcfYou should see
fcf is a function.
Install (Manual)
Section titled “Install (Manual)”-
Clone the repository:
Terminal window git clone https://github.com/mayknxyz/my-fzf.git ~/my-fzf -
Add the source line to your
.bashrc:Terminal window echo 'source ~/my-fzf/my-fzf.sh' >> ~/.bashrc -
Reload your shell:
Terminal window source ~/.bashrc
Update
Section titled “Update”Pull the latest changes:
curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/update.sh | bashOr manually:
cd ~/my-fzf && git pull --ff-onlyThen reload your shell: source ~/.bashrc
Uninstall
Section titled “Uninstall”curl -fsSL https://raw.githubusercontent.com/mayknxyz/my-fzf/main/uninstall.sh | bashOr manually: remove the source ~/my-fzf/my-fzf.sh line from your .bashrc and delete ~/my-fzf.
Troubleshooting
Section titled “Troubleshooting”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. fcfdoesn’t work but other commands do — Check thatfdandfzfare both installed and on your PATH.