-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputrc
22 lines (17 loc) · 809 Bytes
/
inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Immediately show all possible completions if there is more than one match
set show-all-if-ambiguous on
set completion-prefix-display-length 2
# If there are more than x possible completions for a word, ask to show them all
set completion-query-items 300
# Try to stay at the same cursor position when moving through the history.
set history-preserve-point on
$if Bash
# 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
# Coloring for Bash 4 tab completions.
set colored-stats on
$endif