Using alias for a more Trek-like sudo experience :D

gotta post this before I break anything with the upgrade :P (it probably won't, but better safe than sorry)

44 points · 6 comments · view on lemmy.world

6 Comments

Thorry@feddit.org · 15 pts · 122d (1 reply)

Oof, that comma physically hurts me

MousePotatoDoesStuff@lemmy.world · 21 pts · 122d

hopefully it doesn't put you in a comma

varnia@lemmy.blahaj.zone · 12 pts · 122d (1 reply)

What about aliasing sudo to engage or write a whole function for it:

function engage() {
    echo -e "\033[1;36m[LCARS AUTHORIZATION: ACTIVATED]\033[0m"
    sudo "$@"
}
MousePotatoDoesStuff@lemmy.world · 5 pts · 122d

I'd put the sudo on echo too so it asks for password before echoing authorization(?)

webkitten@piefed.social · 3 pts · 122d
[ removed ]
hallettj@leminal.space · 2 pts · 122d (1 reply)

Now how to change the authentication failure message to read, "That procedure is not recommended"?