reedline
reedline copied to clipboard
better history suggestions
I think it would be cool if the history suggestions wouldn't just work for full commands but also for sub-commands/strings.
e.g
i run the command clear
in the shell i will get the history suggestion for it, but only if i didnt enter anything else yet.
echo "test"; c
will not suggest clear here
this would be especially useful in cases like this:
scp path/to/some/file/ [email protected]:~
if someone would want to upload another file, they wouln't get a suggestion for the second part, so [email protected]:~
would need to fully by typed out again;