Last active
October 28, 2020 11:07
-
-
Save davidoort/24347439cb925a27d97bf8e236a53514 to your computer and use it in GitHub Desktop.
History search bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following in your terminal replacing USERNAME by your username | |
# Incremental history searching | |
sudo bash -c 'cat > /home/USERNAME/.inputrc << "EOF" | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e[C": forward-char | |
"\e[D": backward-char | |
EOF' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment