You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/ root@123.123.123:~
if someone would want to upload another file, they wouln't get a suggestion for the second part, so root@123.123.123:~ would need to fully by typed out again;
The text was updated successfully, but these errors were encountered:
Your second example made me think about a nice history thing I configured in zsh and I use a lot: words history
It basically allows me to complete any words (argument) I ever passed to a command..
Here for example I typed in echo /tmp/fo then triggered that words history:
And I'm getting back all the arguments I ever used that starts with /tmp/fo
(these files don't exist in my filesystem anymore, they're only mentioned in my looong history of commands)
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 herethis would be especially useful in cases like this:
scp path/to/some/file/ root@123.123.123:~
if someone would want to upload another file, they wouln't get a suggestion for the second part, so
root@123.123.123:~
would need to fully by typed out again;The text was updated successfully, but these errors were encountered: