From 7db9725935daf15d9879f4f4bd54ece46e569bbb Mon Sep 17 00:00:00 2001 From: Preston Hunt Date: Fri, 28 Aug 2026 12:22:10 -0700 Subject: [PATCH] fd: symlink fdfind to fd so the tool is usable under its real name install_package fd-find installs /usr/bin/fdfind, so nothing named 'fd' ever appeared on PATH -- the README advertises fd but the command did not exist. Link it into ~/.local/bin, which prestobuntu.zsh already prepends to PATH. Co-Authored-By: Claude Opus 5 (1M context) --- setup | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup b/setup index df939ed..34cac1b 100755 --- a/setup +++ b/setup @@ -330,6 +330,15 @@ install_ripgrep() { install_fd() { install_package fd-find + + # Debian and Ubuntu ship the binary as "fdfind" because "fd" is taken + # by an unrelated package; put the upstream name on PATH + local dest="$HOME/.local/bin" + local fdfind + if fdfind=$(command -v fdfind); then + mkdir -p "$dest" + ln -sf "$fdfind" "$dest/fd" + fi } install_rofi_greenclip() {