Skip to content

Opened files in external program get closed when leaving yazi #1796

Closed Locked Answered by smartding
a-torgovitsky asked this question in 1. Q&A
Discussion options

You must be logged in to vote

I added a opener with orphan = true as follows, and it works.
I also see that there's an FAQ entry named Why is "orphan" set to false by default?, so this setting has side effects.

[opener]
open = [
  { run = 'xdg-open "$@"', orphan = true, desc = "Open", for = "unix" }, # add orphan = true
]

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by a-torgovitsky
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
3 participants