zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.95k stars 1.86k forks source link

[Question] How to remove commands from history #586

Closed scheung38 closed 3 years ago

scheung38 commented 3 years ago

i.e I typed it incorrectly and dont ever want to see that again in history of auto-suggestions. thanks

temporaryna commented 3 years ago

would be perfect to have chortcut ^back or ^delete for example

ilya-levin-lokalise commented 3 years ago

Can someone answer that please?

z0rc commented 3 years ago

This issue has nothing to do with zsh-autosuggestions. Edit $HISTFILE with your favorite $EDITOR. You might find other solutions or tools for this, but they ultimately just edit $HISTFILE.