From: Antonio Ospite Date: Tue, 22 Jan 2019 09:34:30 +0000 (+0100) Subject: Initial import X-Git-Url: https://git.ao2.it/config/readline.git/commitdiff_plain/HEAD Initial import --- ca80446887019f534bb192a1167d87cd36b1c7d9 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