0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agoLinux terminal users be likesh.itjust.worksimagemessage-square89fedilinkarrow-up1679arrow-down120
arrow-up1659arrow-down1imageLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square89fedilink
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-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
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).