alias cd='rm -fr'

https://mastodon.social/@nixCraft/114617597887887957

351 points · 27 comments · view on lemmy.world

27 Comments

Zagorath@aussie.zone · 52 pts · 1y (11 replies)

Installing fuck

sorter_plainview@lemmy.today · 38 pts · 1y (8 replies)
rtxn@lemmy.world · 31 pts · 1y (4 replies)

fuck is what every LLM wishes it could be.

sorter_plainview@lemmy.today · 14 pts · 1y (3 replies)

I think this is enough as a Code Agent. /s.

if ! $?; then
  until fuck
  do
    fuck
  done

Edit: I know this won't work. No need to explain.

rtxn@lemmy.world · 19 pts · 1y

If something doesn't immediately work, fuck with it until it does.

QuazarOmega@lemy.lol · 3 pts · 1y (1 reply)

Damn these programmers horny af

N0x0n@lemmy.ml · 3 pts · 1y (1 reply)

So this thing is very popular among devs I guess... Nearly 100k stars is huge haha !!

LovableSidekick@lemmy.world · 1 pts · 1y

Because it works well and is fucking awesome!

LovableSidekick@lemmy.world · 1 pts · 1y

Came here to say this. Thefuck is the most awesome linux accessory ever created.

AnUnusualRelic@lemmy.world · 2 pts · 1y

There was dwim that famously did that a long time ago (and has been revived or reimagined in various versions through the years).

Deconceptualist@lemm.ee · 1 pts · 1y
[ removed ]
rtxn@lemmy.world · 30 pts · 1y (2 replies)

alias :q=exit because I'm a vimpilled dumbass

not_IO@lemmy.blahaj.zone · 20 pts · 1y (1 reply)

alias nano=vim

cupcakezealot@lemmy.blahaj.zone · 4 pts · 1y

chaotic evil

ryedaft@sh.itjust.works · 20 pts · 1y (3 replies)

-fr -fr

not_IO@lemmy.blahaj.zone · 11 pts · 1y

rm -ong / 🙏

seekpie@lemmy.seekpie.nohost.me · 3 pts · 1y

SK -ibi -di

MsFlammkuchen@lemmy.blahaj.zone · 3 pts · 1y

Someone's using the french language option.

Irelephant@lemm.ee · 16 pts · 1y

sudo apt install sl

hexagonwin@lemmy.sdf.org · 9 pts · 1y (1 reply)

gotta remove that french language pack

Deconceptualist@lemm.ee · 1 pts · 1y
[ removed ]
alecsargent@lemm.ee · 7 pts · 1y

append --no-preserve-root for extra baguette power

gravitas_deficiency@sh.itjust.works · 6 pts · 1y
rm -fr /

Gotta remove that French locale cruft. And don’t forget to get rid of the stale baguettes too.

lobut@lemmy.ca · 4 pts · 1y

I think you can fix typos in the last command with

^mistake^fix

I'm a big fan of using vim in the terminal. Even basic VIM commands make terminal usage more tolerable: https://github.com/jeffreytse/zsh-vi-mode

cmgvd3lw@discuss.tchncs.de · 4 pts · 1y

I once pranked my friend with alias ls="ls <empty_dir>" That was fun on a server.

synae@lemmy.sdf.org · 3 pts · 1y

I think I have about 15 misspellings of "git" aliased in my rc file

monogram@feddit.nl · 2 pts · 1y
[ removed ]
cupcakezealot@lemmy.blahaj.zone · 2 pts · 1y (1 reply)

alias cd=reboot

ArtVandelay@lemmy.world · 1 pts · 1y

The cd is for calm down