forked from tangledhelix/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputrc
30 lines (22 loc) · 1.1 KB
/
inputrc
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
28
29
# readline config (used by bash and others)
# Ignore case when doing completion. Works on HFS+, UFS, whatever.
set completion-ignore-case On
# Show all matches when there's ambiguity.
set show-all-if-ambiguous On
# Immediately add a trailing slash when autocompleting symlinks to directories
set mark-symlinked-directories on
# Use the text that has already been typed as the prefix for searching through
# commands (i.e. more intelligent Up/Down behavior)
"\e[B": history-search-forward
"\e[A": history-search-backward
# Append file-type indicator to end of filenames in completions (cf. ls -F).
set visible-stats On
# Edit mode for readline apps like psql (emacs or vi)
set editing-mode emacs
# 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.)
# This is turned off because I don't think I have bash 4 most places.
#set skip-completed-text on