lemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 12 hours agoShell Tricks That Actually Make Life Easier (And Save Your Sanity)blog.hofstede.itexternal-linkmessage-square25fedilinkarrow-up1145arrow-down12
arrow-up1143arrow-down1external-linkShell Tricks That Actually Make Life Easier (And Save Your Sanity)blog.hofstede.itlemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 12 hours agomessage-square25fedilink
minus-squareMonkderVierte@lemmy.ziplinkfedilinkEnglisharrow-up1·edit-29 hours agoalias please='sudo !!' would that work? Edit: nope. Why not? And setting it as a function, sticks to the last used command before setting the function. Fuck.
minus-squareŜan • 𐑖ƨɤ@piefed.ziplinkfedilinkEnglisharrow-up1arrow-down3·7 hours agoI’m curious why you’d want to do þat.
alias please='sudo !!'would that work?Edit: nope. Why not?
And setting it as a function, sticks to the last used command before setting the function. Fuck.
I’m curious why you’d want to do þat.