nsh icon indicating copy to clipboard operation
nsh copied to clipboard

Fish-like auto suggestions

Open xanderificnl opened this issue 3 years ago • 3 comments

Hi.

After reading docs/completion.md it isn't clear to me whether that also includes auto suggestions based on .nsh_history. As far as I can tell, such auto suggestions would in essence be the same functionality provides by CTRL+r, but then inline on the prompt.

Here's what I'm referring to (in fish):

image (the cursor is the block)

image (arrow up searches the history based on the command I've already typed.)

Thanks for your time and for nsh!

xanderificnl avatar Aug 15 '21 05:08 xanderificnl

Added that fancy feature to the backlog of this project. Thanks!

nuta avatar Aug 16 '21 12:08 nuta

Thanks. I very much look forward to seeing nsh progress!

xanderificnl avatar Aug 16 '21 13:08 xanderificnl

Still no progress. Sadly I don't have much time to work on nsh right now :crying:

On Fri, Aug 5, 2022 at 1:47 PM fuggy @.***> wrote:

Any update yet?

— Reply to this email directly, view it on GitHub https://github.com/nuta/nsh/issues/11#issuecomment-1206038590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGR2EXZ6K552B7SDRLFHLTVXSMGBANCNFSM5CFZ5U5Q . You are receiving this because you commented.Message ID: @.***>

nuta avatar Aug 05 '22 04:08 nuta