From 14623136f33d4fde264e0abab8857f4888cc12b4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 10 May 2019 19:20:52 -0400 Subject: readline: move inputrc to $XDG_CONFIG_HOME/readline --- .config/readline/inputrc | 16 ++++++++++++++++ .inputrc | 16 ---------------- .profile | 2 ++ 3 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 .config/readline/inputrc delete mode 100644 .inputrc diff --git a/.config/readline/inputrc b/.config/readline/inputrc new file mode 100644 index 0000000..47b9706 --- /dev/null +++ b/.config/readline/inputrc @@ -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 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 diff --git a/.profile b/.profile index 3d0b45c..3ceec12 100644 --- 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" -- cgit v1.2.3-60-g2f50