0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 2 years agoLinux terminal users be likesh.itjust.worksimagemessage-square102fedilinkarrow-up1698arrow-down118
arrow-up1680arrow-down1imageLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 2 years agomessage-square102fedilink
minus-squareCriticalMiss@lemmy.worldlinkfedilinkarrow-up3·2 years ago vim ~/.inputrc Paste the following: "\e[A": history-search-backward "\e[B": history-search-forward Thank me later
minus-squareGuyWithLag@lemmy.worldlinkfedilinkarrow-up1·2 years 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·2 years 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).