From ca80446887019f534bb192a1167d87cd36b1c7d9 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 22 Jan 2019 10:34:30 +0100 Subject: [PATCH] Initial import --- .inputrc | 29 +++++++++++++++++++++++++++++ README | 1 + 2 files changed, 30 insertions(+) create mode 100644 .inputrc create mode 100644 README diff --git a/.inputrc b/.inputrc new file mode 100644 index 0000000..270264b --- /dev/null +++ b/.inputrc @@ -0,0 +1,29 @@ +# Include system wide settings which are ignored +# by default if one has their own .inputrc +$include /etc/inputrc + +# https://cirw.in/blog/bracketed-paste +set enable-bracketed-paste on + +# Don't echo ^C etc (new in bash 4.1) +# Note this only works for the command line itself, +# not if already running a command. +set echo-control-characters off + +# TAB completion stuff +TAB: complete +set show-all-if-ambiguous on + +# Append a slash when completing symlinked directories +set mark-symlinked-directories on + +# A self expanding, auto-correcting alias for sudo. +"suod": "\C-vsudo" + +$if mode=emacs + +# alternate mappings for "page up" and "page down" to search the history +"\e[5~": history-search-backward +"\e[6~": history-search-forward + +$endif diff --git a/README b/README new file mode 100644 index 0000000..7bd1530 --- /dev/null +++ b/README @@ -0,0 +1 @@ +Readline configuration, see the .inputrc file -- 2.1.4