From e394092c17277c84cb3d234917c4ac1073102ba6 Mon Sep 17 00:00:00 2001 From: Aloxaf Date: Thu, 14 May 2026 00:39:02 +0800 Subject: [PATCH] fix: the dd workaround is no longer needed the bug has been fixed by upstream close #206 close #572 close #549 --- lib/-ftb-fzf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/-ftb-fzf b/lib/-ftb-fzf index cc7c22d..546e4f0 100755 --- a/lib/-ftb-fzf +++ b/lib/-ftb-fzf @@ -73,16 +73,6 @@ fi command cat > $tmp_dir/completions.$$ -local dd='gdd' -if (( ${+commands[$dd]} == 0 )) ; then - dd='dd' -fi -if (( ${+commands[$dd]} == 0 )) ; then - dd='true' # nop if dd is not installed -fi - -_ftb_query="${_ftb_query}$(command "$dd" bs=1G count=1 status=none iflag=nonblock < /dev/tty 2>/dev/null)" || true - local fzf_default_opts='' if [[ "$use_fzf_default_opts" == "yes" ]]; then fzf_default_opts=$FZF_DEFAULT_OPTS