use --remote for searching in lf

This commit is contained in:
mintycube 2024-06-29 11:48:05 +05:00
parent c9043a370f
commit 894f2ed687

View File

@ -59,7 +59,8 @@ cmd on-cd &{{
cmd fzf_search ${{ cmd fzf_search ${{
selected=$(fzf-fd) selected=$(fzf-fd)
if [ -n "$selected" ]; then if [ -n "$selected" ]; then
lf "$selected" lf -remote "send $id set hidden"
lf -remote "send $id select $selected"
fi fi
}} }}