Thank you, it's painful to see people providing replacements for critical commands like `rm` without understanding basic shell features like aliases.
And just a reminder everybody please don't run random scripts you find on the internet.
P.S. you need a semicolon before the close brace :)