r/ProgrammerDadJokes • • Sep 09 '20

True != False

It's funny coz it's true; ain't that some bool shit

446 Upvotes

18 comments sorted by

View all comments

Show parent comments

29

u/[deleted] Sep 09 '20

I know that i still can do this in c++.

#define true 0
#define false 1

18

u/sirxir Sep 09 '20

Laughs in bash scripting

19

u/whattheclap Sep 10 '20

alias cd=rm

3

u/SirDianthus Sep 10 '20

You are evil and i am so happy you exist.

5

u/nubatpython Sep 10 '20

alias cd="sudo rm-rf"

Make sure to set the user to nopasswd in the sudoers file first or it'll ask for password

2

u/Cootshk Sep 14 '23

You forgot a space

Gj

1

u/nubatpython Sep 15 '23

alias rm-rf="rm -rf"

1

u/Cootshk Sep 15 '23

That resets after you close bash

You have to add it to bash_aliases