Closed uxfion closed 1 month ago
In fact, it runs custom_shell -it "command"; exit, which you have already mentioned in the README.
custom_shell -it "command"; exit
However, I did not see the ; exit operation in the code, which causes the interactive shell of zsh -it to not exit correctly (https://github.com/AnirudhG07/custom-shell.yazi/issues/5).
; exit
zsh -it
After testing, these changes allow me to run the default terminal environments of bash or zsh normally (with aliases and environment variables working properly).
bash
zsh
Note that I only tested bash and zsh; I'm not sure about others.
Oh I see, before an update I made previously, I had ;exit, somehow I might have missed here.
;exit
In fact, it runs
custom_shell -it "command"; exit
, which you have already mentioned in the README.However, I did not see the
; exit
operation in the code, which causes the interactive shell ofzsh -it
to not exit correctly (https://github.com/AnirudhG07/custom-shell.yazi/issues/5).After testing, these changes allow me to run the default terminal environments of
bash
orzsh
normally (with aliases and environment variables working properly).Note that I only tested
bash
andzsh
; I'm not sure about others.