Closed aperezdc closed 6 years ago
Thank you for the patch, @aperezdc .
I know the current behavior can be confusing, but I still find it useful when entering a couple of commands routinely. I'm thinking of adding an option so the user can choose whichever behavior they like.
@magicant Maybe I can try to add the option myself tomorrow. Is lepredictempty
a good name for it?
Yes, sounds pretty good 👍
@magicant I have added the option, and updated the documentation and the tests as well. I hope the PR looks better now :smiley:
Thank you so much. You've done almost everything!
I merged your patch at a429dc9f35e1dd5594ec1675087a9cdc85136dab, and will follow up with an update to the Japanese documentation.
@magicant Thanks for applying the patch and for taking care of the Japanese translation. Unfortunately I do not know enough Japanese myself :innocent:
Personally I like the line input prediction feature very useful, but I find it confusing that there is a suggestion on empty input lines. This patch disables showing any prediction on empty input.
I have checked how other shells do this, and for example Zsh with zsh-autosuggestions (screencast) and Fish (screencast) do not show suggestions when the input is empty.
P.S: @magicant, it looks like the main repository for Yash is the Subversion one, so please let me know if you prefer contributions to be sent in some other way instead of GitHub PRs.