I’m a complete moron, I should’ve had that backed up and used trash…
I had to learn the hard way lol
That’s why I always:
- cd .cache
- ls
- rm -r *
Type a space before rm to prevent it from being added to your history to be a extra careful.
For which shell? I just tried that on a bash system and the command was still stored in .bash_history 😔
Holy shit, I never knew you could do that! I’ve always really wanted a feature to stop random commands from being added to my history.