0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agoLinux terminal users be likesh.itjust.worksimagemessage-square98fedilinkarrow-up1631arrow-down118
arrow-up1613arrow-down1imageLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square98fedilink
minus-squareCriticalMiss@lemmy.worldlinkfedilinkarrow-up3·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).