A Manic Developer's Place

Up arrow to autocomplete from history in bash

November 9, 2017

Linux

Edit .inputrc and add:


## arrow up
"\e[A":history-search-backward

## arrow down
"\e[B":history-search-forward

From: https://askubuntu.com/questions/59846/bash-history-search-partial-up-arrow

ManicDev on Github

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/O d-pu s-:+++ a+ C+++ UL+++ P- L++ E--- W+++ N o-- K--? w++ O M+ V PS PE Y+ PGP t+ 5? X+ R tv- b+ DI- D++ G e+ h++ r++ z
------END GEEK CODE BLOCK------