0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agoLinux terminal users be likesh.itjust.worksexternal-linkmessage-square96fedilinkarrow-up1688arrow-down120
arrow-up1668arrow-down1external-linkLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square96fedilink
minus-squareCriticalMiss@lemmy.worldlinkfedilinkarrow-up5·1 year ago vim ~/.inputrc Paste the following: "\e[A": history-search-backward "\e[B": history-search-forward Thank me later
minus-squareGuyWithLag@lemmy.worldlinkfedilinkarrow-up1·1 year agoMan, I’ve been on unix systems since, oh, 1994, but I’ve never messed with my .inputrc … may need to take the dive…
minus-squareTheGeneral@lemmy.worldlinkfedilinkarrow-up1·1 year agoOk this is actually great. Is there a way to make it so when you down arrow again it will clear the cmd line (or take it back to the prefix)? Like “py” -> up -> down -> result is “py” Currently it would show my last python command (or whatever matches).
"\e[A": history-search-backward "\e[B": history-search-forward
Thank me later
Man, I’ve been on unix systems since, oh, 1994, but I’ve never messed with my .inputrc … may need to take the dive…
Ok this is actually great. Is there a way to make it so when you down arrow again it will clear the cmd line (or take it back to the prefix)?
Like “py” -> up -> down -> result is “py”
Currently it would show my last python command (or whatever matches).