Quit from custom commands #4399
Unanswered
noahfraiture
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I don't see anything in the custom commands to quit lazygit. I want to integrate lazygit in helix like it can be done in yazi sxyazi/yazi#2461 and thus I have the following lazygit command
And this helix command
However the
exit
in the command doesn't work obviously because under the hood it's a command bashbash -c
and it's that process that exit. A solution is to use a signal with something like...; kill $PPID
but it's probably not the best way as generate an error.Is there another solution or is there a good signal to use ?
This is a little bit of topic but I ask here if someone know, after doing this helix trick, the terminal is buggy and pressing the escape command in lazygit doesn't exist a menu, but print
[27u
. Do you know where that comes from ?Beta Was this translation helpful? Give feedback.
All reactions