obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 10 days agoNoicelemmy.mlimagemessage-square117fedilinkarrow-up1423arrow-down19
arrow-up1414arrow-down1imageNoicelemmy.mlobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 10 days agomessage-square117fedilink
minus-squarelefixxx@lemmy.worldlinkfedilinkarrow-up3·edit-29 days agowish i could alias that alias ffs=“sudo !!”
minus-squaretimbuck2themoon@sh.itjust.workslinkfedilinkEnglisharrow-up4·9 days agoalias ffs='sudo $(history -p !!)'
minus-squareTedZanzibar@feddit.uklinkfedilinkEnglisharrow-up2·9 days agoJust to confirm: I tried this, it works.
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up1·9 days agoThat doesn’t work? I would have thought it would work.
minus-squarelefixxx@lemmy.worldlinkfedilinkarrow-up2·9 days ago!! Gets replaced by whatever was run before the alias command
wish i could alias that
alias ffs=“sudo !!”
alias ffs='sudo $(history -p !!)'Just to confirm: I tried this, it works.
That doesn’t work? I would have thought it would work.
!! Gets replaced by whatever was run before the alias command