-
Notifications
You must be signed in to change notification settings - Fork 188
/
.inputrc
21 lines (17 loc) · 802 Bytes
/
.inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Uncomment below line for issues like https://bbs.archlinux.org/viewtopic.php?id=112537
#$include /etc/inputrc
# use up and down arrow to match search history based on typed starting text
"\e[A": history-search-backward
"\e[B": history-search-forward
# Ctrl+d to clear filenames in backward direction
# Esc+Backspace stops at _ . etc
"\C-d": unix-filename-rubout
# when using Tab for completion, ignore case
set completion-ignore-case on
# single Tab press will complete if unique, display multiple completions otherwise
set show-all-if-ambiguous on
# don't display characters like Ctrl+c when used on readline
set echo-control-characters off
# Further reading
# https://www.gnu.org/software/bash/manual/html_node/Sample-Init-File.html#Sample-Init-File
# https://wiki.archlinux.org/title/readline