please apt install clang
User isn't in polite boy list. This incident will be reported.
please remove the French language pack
please rm -fr /*
Some people just wanna see the world burn
For people that don’t get the joke: this messes up your system
If you’re out of the loop: this is part of the joke tricking people into dedicating precious hard drive space to an unnecessary language pack.
Now a days you have add —no-preserve root after the laggy French pack to fully remove it.
Not with the asterisk! The shell automatically expands the asterisk before sending the args to rm, removing every French language pack in your root directory.
please killall
I see…
Make sure to combine it with
Disallow /harm/to/humans
alias go-go-gadget=sudo
$ go-go-gadget apt update
alias bridge-to-engineering=sudo
alias computer=sudo
$ scotty-i-need-more cowbell
I love this haha
Or do the opposite for…relief
Fucking mv doc doc1
Fucking shutdown
Fuck will always be my alias to run sudo with the last command
Shorthand that works anywhere:
sudo !!
Between the fuck utility and this alias idea, when I set up my next box I’m absolutely aliasing “fuck off” for sudo the last command and “please” for sudo itself
Yup I’m stealing that lol
How do you alias the last command? My aliases are all hard coded. I had no idea you could send a variable to an alias
Probably with
!!
(!n
will be the command corresponding to the number n in your history,!!
is shorthand for the last command)
I wonder if you could make it sass you every so often to complete the effect.
Fucking shutdown
Chill my man. I’m on it.
I aint typing out ‘please’, I will compromise on
alias plz='sudo'
shit, that’s a radical move
alias ty='exit'
alias alias='alias'
I’m scared of you
I might actually do this, it seems nice.
please rm -rf /
please shutdown
THIS INCIDENT WILL BE REPORTED.
$ alias please="sudo"
$ alias stay="shutdown"
$ please stay_
Oof right in the feels
Use
shutdown -h now
or-P 0
Or just use
poweroff
alias fuck=sudo !!
I much prefer this package for my
fuck
command https://github.com/nvbn/thefuck
Nah, uh, uh. You didn’t say the magic word!
That’s what I came for.
Yeah yeah I forgot that power word, let’s hope you have at least 100hp then…
I prefer to use
kudasai
… but as some may already know, it should be at the end of thesentencecommand 😅, so I added a custom hook to my ZSH config to make it run commands aspacman -Syu kudasai
.Essentially you can add any type of string matching in the function. Add this to the end of your
.zshrc
file:function kudasai_preexec() { # Check if the last word is ' kudasai' if [[ $1 == *" kudasai" ]]; then # Remove ' kudasai' and prepend 'sudo' cmd=${1%" kudasai"} eval "sudo $cmd" # Prevent the original command from running return 1 fi } # Register the preexec hook autoload -Uz add-zsh-hook add-zsh-hook preexec kudasai_preexec
Edit: as downside you always get
1
exit code with this implementation (little_annoying) .damn, this is some next level shit
Why does it compare against
$1
for the string match? Wouldn’tkudasai
be at the end of something like$*
?