Accidentally typed something confidential into the terminal?
In a scenario where you type something you didn't wanna save in the shell history.
Just removing the last line
> export TOKEN="__REDACTED__"
> oopsRemoving multiple lines
> export TOKEN="I"
> export TOKEN="keep"
> export TOKEN="leaking"
> export TOKEN="SECRETS"
> oops 4Clone this repo:
git clone https://github.com/mdhvg/oops
cd oopsInstall
make installInstalling in a custom directory
make install PREFIX="/path/to/custom/dir"Just run
make uninstallOr in case of custom path
make uninstall PREFIX="/path/to/install/dir"- Zsh
Feel free to make a PR for your preferred terminal :)
