-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputrc
More file actions
27 lines (20 loc) · 700 Bytes
/
Copy pathinputrc
File metadata and controls
27 lines (20 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Moved these settings from .bashrc
# tab loops through alternatives
# Windows style
#[[ $- = *i* ]] && bind TAB:menu-complete
#bind '"\e[Z": complete' #shift-tab to normal bash
# Tab cycles forward through matches
"\t": menu-complete
# Shift-Tab cycles backward through matches
"\e[Z": menu-complete-backward
# Show the common prefix before cycling
set menu-complete-display-prefix on
# Abbreviate long common prefixes in displayed lists
set completion-prefix-display-length 2
# Ignore case when tabbing
set completion-ignore-case on
# show all ambiguous directly
set show-all-if-ambiguous on
set show-all-if-unmodified on
# Treat hyphen and underscore as the same
set completion-map-case on