Skip to content

Exiting from a command that was specified in the layout kdl file #3870

Answered by Lockszmith-GH
Eloquencere asked this question in Q&A
Discussion options

You must be logged in to vote

I see... one way I can think of, is to not run yazi, but instead run it in a script that 'exits to the shell', from the command line it will look something like:

sh -c 'yazi; exec /bin/bash -l'

so this will run sh with the command line yazi; exec /bin/bash -l, which will first run yazi, then when it drops from yazi, it will replace the existing process with /bin/bash -l which will open an interactive shell.

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@Eloquencere
Comment options

@Lockszmith-GH
Comment options

@Eloquencere
Comment options

@Lockszmith-GH
Comment options

Answer selected by Eloquencere
@Eloquencere
Comment options

@Lockszmith-GH
Comment options

@Eloquencere
Comment options

@Lockszmith-GH
Comment options

Comment options

You must be logged in to vote
3 replies
@Eloquencere
Comment options

@Lockszmith-GH
Comment options

@Eloquencere
Comment options

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