AnirudhG07 / custom-shell.yazi

Set your custom-shell as default shell in yazi!
MIT License
7 stars 3 forks source link

fix zsh: suspended #6

Closed uxfion closed 1 month ago

uxfion commented 1 month ago

‌‌‌‌‌‌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 of zsh -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 or zsh normally (with aliases and environment variables working properly).

Note that I only tested bash and zsh; I'm not sure about others.

AnirudhG07 commented 1 month ago

Oh I see, before an update I made previously, I had ;exit, somehow I might have missed here.