obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 10 days agoNoicelemmy.mlimagemessage-square117fedilinkarrow-up1422arrow-down19
arrow-up1413arrow-down1imageNoicelemmy.mlobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 10 days agomessage-square117fedilink
minus-squaredevfuuu@lemmy.worldlinkfedilinkarrow-up23·9 days agoNot all shells support that. I use fish btw.
minus-squareArchAengelus@lemmy.dbzer0.comlinkfedilinkarrow-up16·9 days agoI know what you meant (I have one for fish as well), but I chucked because you looked very enthusiastic about it! The fish function for !! is super useful though
minus-squareNannerBanner@literature.cafelinkfedilinkarrow-up6·9 days agoI don’t even know what I use anymore. My distro seems to keep changing it when I reinstall.
minus-squareguymontag@lemmy.mllinkfedilinkarrow-up2·9 days agoHoly shit I wish fish supported it. I just press up arrow then hold left arrow and manually type sudo. It fucking sucks
minus-squaretekino@pawb.sociallinkfedilinkarrow-up3·8 days agoI’ve been using this plugin https://github.com/oh-my-fish/plugin-bang-bang fish also allows going through previous arguments with alt+up
minus-squaredevfuuu@lemmy.worldlinkfedilinkarrow-up2·8 days agoI’ve used it for so many years that it’s not an issue anymore. I remember using !! a lot but it was literally just for sudo. Now i either write what I need and do up or write what I need and then press alt+s, which seems even more intuitive now.
minus-squareBolshoyToster@sh.itjust.workslinkfedilinkarrow-up1·9 days agoDoes your keyboard not have a home key?
minus-squareguymontag@lemmy.mllinkfedilinkarrow-up2·8 days agoDidn’t know home key could do that lol.
Not all shells support that.
I use fish btw.
I made my own !!
I know what you meant (I have one for fish as well), but I chucked because you looked very enthusiastic about it!
The fish function for
!!is super useful thoughI don’t even know what I use anymore. My distro seems to keep changing it when I reinstall.
echo $SHELLLol, thanks. Now I know.
Holy shit I wish fish supported it. I just press up arrow then hold left arrow and manually type sudo. It fucking sucks
… are you not aware of Alt+S?!
Nope haha. Thanks for letting me know
I’ve been using this plugin https://github.com/oh-my-fish/plugin-bang-bang fish also allows going through previous arguments with alt+up
Epicc. I should install thjs
I’ve used it for so many years that it’s not an issue anymore. I remember using !! a lot but it was literally just for sudo. Now i either write what I need and do up or write what I need and then press alt+s, which seems even more intuitive now.
Does your keyboard not have a home key?
Didn’t know home key could do that lol.