AnirudhG07 / custom-shell.yazi

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

option to wait for user to press 'return' after command execution #7

Closed pirafrank closed 2 weeks ago

pirafrank commented 2 weeks ago

Added option -w or --wait to wait for the user to press return/enter key after executing the command. This allows the command output not to disappear immediately after exit and to stay readable on screen.

Example below.

custom-shell

AnirudhG07 commented 2 weeks ago

Oh wow! I like it. I will review it in detail tomorrow.

AnirudhG07 commented 2 weeks ago

Why do we need a .editorconfig file?

pirafrank commented 2 weeks ago

Well mostly because of indentation, to avoid future contributors to mix tabs and spaces in the file. Lua does not have a strict style requirement about using tabs or spaces, and since you chose tabs .editorconfig just ensures those are used.

AnirudhG07 commented 2 weeks ago

I guess it's fine. We need not add it to the repo. I understand the use case, please remove it. rest LGTM.

pirafrank commented 2 weeks ago

done