-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.inputrc
21 lines (16 loc) · 803 Bytes
/
.inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# readline config used by various applications, including ruby's IRB
# Make Tab autocomplete regardless of filename case
set completion-ignore-case on
# Append a slash when autocompleting symbolic links to directories
set mark-symlinked-directories on
# List all matches in case multiple possible completions are possible
set show-all-if-ambiguous on
# https://coderwall.com/p/oqtj8w
"\e[A": history-search-backward
"\e[B": history-search-forward
# 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