obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 5 months agoNoicelemmy.mlimagemessage-square106linkfedilinkarrow-up1142arrow-down12
arrow-up1140arrow-down1imageNoicelemmy.mlobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 5 months agomessage-square106linkfedilink
minus-squaremuhyb@programming.devlinkfedilinkarrow-up0·5 months agoIs this a shell thing or a terminal thing? It doesn’t work for me on foot.
minus-squareEphera@lemmy.mllinkfedilinkarrow-up0·5 months ago@Dionysus@leminal.space found out that it’s a feature in fish shell, which I can confirm.
minus-squaremuhyb@programming.devlinkfedilinkarrow-up0·5 months agoThanks. I think I should check out fish soon, I keep seeing it a lot lately and it seems to be made for lazy people like me. :)
minus-squaremoopet@sh.itjust.workslinkfedilinkEnglisharrow-up0·5 months agoFish has a bunch or weirdness if you’re used to other shells for things like substitution, and shortcuts like $_ don’t work afaik.
minus-squaremuhyb@programming.devlinkfedilinkarrow-up0·5 months agoHuh, I checked and noticed that fish is non-POSIX. I guess I’ll just stick to zsh but I still want to check fish to see what’s all this about.
minus-squareBCsven@lemmy.calinkfedilinkarrow-up0·5 months agoNot sure, I assumed universal because you use it with your history. Type history, see the number next to the command, do a !nnn and it will run that command from history
minus-squaremuhyb@programming.devlinkfedilinkarrow-up1·5 months agoOh, !! definitely works. I meant Alt+S shortcut.
Is this a shell thing or a terminal thing? It doesn’t work for me on
foot.@Dionysus@leminal.space found out that it’s a feature in
fishshell, which I can confirm.Thanks. I think I should check out
fishsoon, I keep seeing it a lot lately and it seems to be made for lazy people like me. :)Fish has a bunch or weirdness if you’re used to other shells for things like substitution, and shortcuts like $_ don’t work afaik.
Huh, I checked and noticed that
fishis non-POSIX. I guess I’ll just stick tozshbut I still want to checkfishto see what’s all this about.Not sure, I assumed universal because you use it with your history. Type history, see the number next to the command, do a !nnn and it will run that command from history
Oh,
!!definitely works. I meant Alt+S shortcut.