-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Sources:
- https://askubuntu.com/questions/280327/how-to-make-terminal-autocomplete-when-there-are-several-files-directory
- https://unix.stackexchange.com/questions/55203/bash-autocomplete-first-list-files-then-cycle-through-them
- https://unix.stackexchange.com/questions/16921/make-bashs-tab-completion-fill-in-first-match/16926#16926
From [1]:
# ~/.inputrc
# mappings to have up and down arrow searching through history:
"\e[A": history-search-backward
"\e[B": history-search-forward
# mappings to have left and right arrow go left and right:
"\e[C": forward-char
"\e[D": backward-char
# mapping to have [Tab] and [Shift]+[Tab] to cycle through all the possible completions:
"\t": menu-complete
"\e[Z": menu-complete-backwardMetadata
Metadata
Assignees
Labels
No labels