Skip to content

How to open a file/directory after the find command finishes? #1456

Answered by DusanLesan
joaopauloalbq asked this question in Q&A
Discussion options

You must be logged in to vote

Looks related to this: #1082
So maybe something like this would work for you:

map f :find; set user_find true
cmd on-select &{{
	if [ "$lf_user_find" = true ]; then
		lf -remote "send $id set user_find false"
		lf -remote "send $id open"
	fi
}}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joaopauloalbq
Comment options

Answer selected by joaopauloalbq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants