When I feel like scrapping the whole project and starting over:

Me: (in the project dir) sudo rm -rf /*
Me: (after waiting a while) Something feels off… Why is it taking so long to delete everything?
Me: (suddenly realizing) ^C ^C ^C
System: Press any key to continue…

当我想把整个项目推倒重做时:
我:(在项目目录)sudo rm -rf /*
我:(等了一会儿)有点不对劲。。。怎么删了这么长时间还没删完
我:(恍然大悟)^C ^C ^C
系统: Press any key to continue…

  • TruePe4rl@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 hours ago

    Fun fact, did you know that undefined varuables in Makefiles are substituted for “”? So be careful when copypasting some code from your previous Makfefile and make sure to use guardrails like ./$(VAR)

    In the end I ran rm -rf, lost half of my $HOME and did not touch my laptop for a few days. Too bad it ran from inside Neovim. Could have noticed sooner.