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() {