readline: move inputrc to $XDG_CONFIG_HOME/readline
authorAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 23:20:52 +0000 (19:20 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 23:20:52 +0000 (19:20 -0400)
.config/readline/inputrc [new file with mode: 0644]
.inputrc [deleted file]
.profile

diff --git a/.config/readline/inputrc b/.config/readline/inputrc
new file mode 100644 (file)
index 0000000..47b9706
--- /dev/null
@@ -0,0 +1,16 @@
+set enable-bracketed-paste on
+
+set colored-stats on
+set colored-completion-prefix on
+set completion-ignore-case on
+set menu-complete-display-prefix on
+set page-completions off
+set show-all-if-ambiguous on
+set show-all-if-unmodified on
+set visible-stats on
+
+TAB: menu-complete
+"\e[Z": menu-complete-backward
+
+"\e[A": history-search-backward
+"\e[B": history-search-forward
diff --git a/.inputrc b/.inputrc
deleted file mode 100644 (file)
index 47b9706..0000000
--- a/.inputrc
+++ /dev/null
@@ -1,16 +0,0 @@
-set enable-bracketed-paste on
-
-set colored-stats on
-set colored-completion-prefix on
-set completion-ignore-case on
-set menu-complete-display-prefix on
-set page-completions off
-set show-all-if-ambiguous on
-set show-all-if-unmodified on
-set visible-stats on
-
-TAB: menu-complete
-"\e[Z": menu-complete-backward
-
-"\e[A": history-search-backward
-"\e[B": history-search-forward
index 3d0b45c..3ceec12 100644 (file)
--- a/.profile
+++ b/.profile
@@ -1,3 +1,5 @@
+export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
+
 export VISUAL="emacsclient -c"
 
 export PATH="$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin${PATH:+:}$PATH"
 export VISUAL="emacsclient -c"
 
 export PATH="$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin${PATH:+:}$PATH"