Skip to content

Instantly share code, notes, and snippets.

@aodiquan
Created March 15, 2021 09:49
Show Gist options
  • Save aodiquan/41e43a3aec79c57d0dc0c98b62a5a95f to your computer and use it in GitHub Desktop.
Save aodiquan/41e43a3aec79c57d0dc0c98b62a5a95f to your computer and use it in GitHub Desktop.
bash_complete
#!/bin/bash
echo '"\e[A": history-search-backward' >> ~/.inputrc
echo '"\e[B": history-search-forward' >> ~/.inputrc
echo 'set show-all-if-ambiguous on' >> ~/.inputrc
echo 'set completion-ignore-case on' >> ~/.inputrc
echo "run ' bind -f ~/.inputrc ' to enable better history completion."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment