#Km91#@sh.itjust.works to linuxmemes@lemmy.world · 21 hours agoFeels more polite for sure.sh.itjust.worksimagemessage-square92fedilinkarrow-up11.01Karrow-down19
arrow-up1999arrow-down1imageFeels more polite for sure.sh.itjust.works#Km91#@sh.itjust.works to linuxmemes@lemmy.world · 21 hours agomessage-square92fedilink
minus-squareAlaknár@sopuli.xyzlinkfedilinkarrow-up6·10 hours agoI always preferred the version where please="sudo !!", but I recently tried setting it up and couldn’t get it to work on fish, sadly.
minus-square6️⃣9️⃣4️⃣2️⃣0️⃣@lemmy.worldlinkfedilinkEnglisharrow-up1·3 hours agoalias please='sudo $(fc -ln -1)'
minus-squareandallthat@lemmy.worldlinkfedilinkarrow-up1·3 hours agoI’m a new windows emigrant, so I don’t have that muscle memory… so I am getting used more easily to using fish’s ALT+S to sudo the previous command
minus-squareKorYi@lemmy.mllinkfedilinkarrow-up2·8 hours agoI remember setting this up with zsh and it didn’t work either. IIRC I had to use history to access the last command but it failed in some cases so I stopped using it altogether )=
I always preferred the version where
please="sudo !!", but I recently tried setting it up and couldn’t get it to work on fish, sadly.I’m a new windows emigrant, so I don’t have that muscle memory… so I am getting used more easily to using fish’s ALT+S to sudo the previous command
I remember setting this up with zsh and it didn’t work either. IIRC I had to use history to access the last command but it failed in some cases so I stopped using it altogether )=