torgeir@lemmy.mltoLinux@lemmy.ml•Tried to rm -r my .cache but accidentally did .config instead...
6·
2 months agoThis. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
This. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
I’ve done similar things for mismatched python dependencies in a broken Airflow setup on GCP, and got amazingly good results pointing me in the right direction to resolve the conflicting package versions. Just dumped a mile long stack trace and the full requirements.txt on it. Often worth a shot, tbh
I’ll remember that.
I put mine as zsh autoloads. This way feels almost as light as creating aliases once set ut, and also allows for the scripts to have slow initializing code and still be readily available, without having to load everything immediately when zshrc loads and wait for it all the time, even when you might not need it.