Sample Header Ad - 728x90

Fuzzy finding directories is slow

0 votes
1 answer
156 views
I have following bash script to find git repositories.
echo "$(fd -I -i -H -E '.local' -E '.cargo' -E '.password-store' -t d ^.git$ ~ -x 'echo' '{//}' | sk)"
fd pipes search results to sk (fzf rust alternative) as they are being found but selecting one item waits until fd to finish. So there is like a 2 second delay from me selecting the directory using sk to it actually being echoed. I can see the same behavior with fzf too. Is there a way to avoid the delay?
Asked by s1n7ax (437 rep)
Jul 30, 2023, 05:42 PM
Last activity: Jul 30, 2023, 07:41 PM