Initial import master
authorAntonio Ospite <ao2@ao2.it>
Tue, 22 Jan 2019 09:34:30 +0000 (10:34 +0100)
committerAntonio Ospite <ao2@ao2.it>
Tue, 22 Jan 2019 09:40:17 +0000 (10:40 +0100)
.inputrc [new file with mode: 0644]
README [new file with mode: 0644]

diff --git a/.inputrc b/.inputrc
new file mode 100644 (file)
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 (file)
index 0000000..7bd1530
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+Readline configuration, see the .inputrc file