Skip to content

Instantly share code, notes, and snippets.

@thewh1teagle
Created June 15, 2020 18:11
Show Gist options
  • Save thewh1teagle/5cadeaa74f4e71764f994a91d722703c to your computer and use it in GitHub Desktop.
Save thewh1teagle/5cadeaa74f4e71764f994a91d722703c to your computer and use it in GitHub Desktop.
### PUT IN BASHRC ###
# If there are multiple matches for completion, Tab should cycle through them
bind 'TAB':menu-complete
# Display a list of the matching files
bind "set show-all-if-ambiguous on"
# Perform partial completion on the first Tab press,
# only start cycling full results on the second Tab press
bind "set menu-complete-display-prefix on"
# Cycle through history based on characters already typed on the line
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment