Add .inputrc and readline macros in bashrc
This commit is contained in:
parent
6d036476e4
commit
8e2c9918ab
2 changed files with 30 additions and 0 deletions
24
.inputrc
Normal file
24
.inputrc
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Include system defaults
|
||||
$include /etc/inputrc
|
||||
|
||||
# Disable terminal bell
|
||||
set bell-style none
|
||||
|
||||
# Enable colors for completion listings
|
||||
set colored-completion-prefix on
|
||||
set colored-stats on
|
||||
|
||||
# Enable case-insensitive completion
|
||||
set completion-ignore-case on
|
||||
|
||||
# Show completion listing without double-Tab
|
||||
set show-all-if-ambiguous on
|
||||
|
||||
# Don't keep changes to history lines
|
||||
set revert-all-at-newline on
|
||||
|
||||
# Keybinding Alt-W: Like Ctrl-w but allowing slashes as word boundaries
|
||||
"\ew": unix-filename-rubout
|
||||
|
||||
# Keybinding Alt-Tab: Cycle through completions
|
||||
"\e\C-i": menu-complete
|
||||
Loading…
Add table
Add a link
Reference in a new issue