mirror of
https://github.com/Aloxaf/fzf-tab.git
synced 2026-09-10 07:26:16 -04:00
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:
parent
0983009f86
commit
e394092c17
10
lib/-ftb-fzf
10
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue