abobla@lemm.ee to linuxmemes@lemmy.world · 2 months agopro tiplemm.eeimagemessage-square77fedilinkarrow-up11.46K
arrow-up11.46Kimagepro tiplemm.eeabobla@lemm.ee to linuxmemes@lemmy.world · 2 months agomessage-square77fedilink
minus-squarecm0002@lemmy.worldlinkfedilinkarrow-up156·2 months agoOr do the opposite for…relief Fucking mv doc doc1 Fucking shutdown
minus-squareDrew Belloc@ani.sociallinkfedilinkEnglisharrow-up28·2 months agoFuck will always be my alias to run sudo with the last command
minus-squarekibiz0r@midwest.sociallinkfedilinkEnglisharrow-up11·2 months agoShorthand that works anywhere: sudo !!
minus-squareJustAnotherKay@lemmy.worldlinkfedilinkarrow-up7·2 months agoBetween 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
minus-squareA_Union_of_Kobolds@lemmy.worldlinkfedilinkarrow-up4·2 months agoYup I’m stealing that lol
minus-squareanytimesoon@feddit.uklinkfedilinkarrow-up2·2 months agoHow do you alias the last command? My aliases are all hard coded. I had no idea you could send a variable to an alias
minus-squareOmega@sh.itjust.workslinkfedilinkarrow-up2·2 months agoProbably with !! (!n will be the command corresponding to the number n in your history, !! is shorthand for the last command)
minus-squareAbnorc@lemm.eelinkfedilinkarrow-up3·2 months agoI wonder if you could make it sass you every so often to complete the effect. Fucking shutdown Chill my man. I’m on it.
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.