Any way to remove something from autosuggest or clearing history? #672
-
This is very low priority because it's cosmetic, since autosuggest goes with the most recently used command, but one time I accidentally typed 'exiot' instead of 'exit' and now it shows up every time. Is there a way to remove that suggestion? Clearing the history would work, but I tried turning history.save false and then true again and that did not clear out the history. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I recommend reading the documentation about history; there's a lot of useful information available there.
So, for example you could:
P.S. Also, run |
Beta Was this translation helpful? Give feedback.
-
Oh I was focusing on autosuggest. Thank you for that detailed response! |
Beta Was this translation helpful? Give feedback.
I recommend reading the documentation about history; there's a lot of useful information available there.
Saved Command History
remove-history
So, for example you could:
exiot
line is recalled, then press Alt-Ctrl-D to remove that history entry.exi
then press PgUp until theexiot
line is recalled, then press Alt-Ctrl-D to remove that history entry.history | findstr exiot
to find the history entry number associated with the command, and runhistory delete t…