fix: the dd workaround is no longer needed

the bug has been fixed by upstream

close #206
close #572
close #549
This commit is contained in:
Aloxaf 2026-05-14 00:39:02 +08:00
parent 0983009f86
commit e394092c17
No known key found for this signature in database
GPG key ID: 0F8D23F44B277E02

View file

@ -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