Skip to content

Any way to remove something from autosuggest or clearing history? #672

Answered by chrisant996
mboeker asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend reading the documentation about history; there's a lot of useful information available there.

Saved Command History

Key Binding Description Command Name
Alt-Ctrl-D While navigating through the history, removes the current history line from the saved history. Otherwise has no effect. remove-history

So, for example you could:

  • Use Up to navigate the history until the exiot line is recalled, then press Alt-Ctrl-D to remove that history entry.
  • Or type exi then press PgUp until the exiot line is recalled, then press Alt-Ctrl-D to remove that history entry.
  • Or run history | findstr exiot to find the history entry number associated with the command, and run history delete t…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisant996
Comment options

You must be logged in to vote
1 reply
@chrisant996
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question about something
2 participants