Sure there's a super simple smart way to do this, but since history in zshell seems to be aliased to fc, there's no way to use the tricks mentioned in How to remove a single line from history?.Any pointers on how to do this? My use case would be to remove the last issued command from history so it stops autocompleting (mostly when you've mistyped something and it keeps showing up).I know I can get the last issued command by doinghistory | tail -n 1, but history -d doesn't work and I can't find proper documentation for zsh.
How to remove the last command (or current command for bonus) from zsh history
zsh;command history