abbadon420@sh.itjust.works to Ask Lemmy@lemmy.world · 4 days agoLinux question: I like to browse using ls. Than when I find what I'm looking for, I would like to directly move there with cd without having to retype the path. Is there an elegant solution for that?message-squaremessage-square63linkfedilinkarrow-up1128arrow-down11file-text
arrow-up1127arrow-down1message-squareLinux question: I like to browse using ls. Than when I find what I'm looking for, I would like to directly move there with cd without having to retype the path. Is there an elegant solution for that?abbadon420@sh.itjust.works to Ask Lemmy@lemmy.world · 4 days agomessage-square63linkfedilinkfile-text
Maybe there is a tool that does that? Maybe I’m doing this all wrong and there is a different way I should browse?
minus-squareNeatNit@discuss.tchncs.delinkfedilinkarrow-up5·4 days agoI have a really strong muscle memory for Home so it’s super convenient to me, but ctrl+a sounds just as good.
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up2·4 days agoMinor addition: I’ve had some shells where home will bring you back to the beginning of the current line, not the whole command. Ctrl+Home always brings you to the very start of the command if this applies to you
I have a really strong muscle memory for Home so it’s super convenient to me, but ctrl+a sounds just as good.
Minor addition: I’ve had some shells where home will bring you back to the beginning of the current line, not the whole command.
Ctrl+Homealways brings you to the very start of the command if this applies to you