# Make Tab autocomplete regardless of filename case
set completion-ignore-case on
set completion-map-case on

# List all matches in case multiple possible completions are possible
set show-all-if-ambiguous on

# Be more intelligent when autocompleting by also looking at the text after
# the cursor. For example, when the current line is "cd ~/src/mozil", and
# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
# Readline used by Bash 4.)
set skip-completed-text on
# show all possible candidates at first Tab, the next tabs will cycle through candidates
set menu-complete-display-prefix on
"\t": menu-complete
