News for hackers. Stuff that matters.
Re:ZSH Aliases by Spivak on Tuesday May 26, 2020 @09:22PM (#23318421)
Don't worry. I got you.

    alias -s sh='_c(){ curl -sk $1 | sudo bash };_c'
Wait. Improved.

    alias -s sh='_c(){ [[ -f $1 ]] && sudo bash $1 || curl -sk $1 | sudo bash };_c'

There are no comments on this comment yet.