From: Amin Bandali Date: Fri, 10 May 2019 23:20:52 +0000 (-0400) Subject: readline: move inputrc to $XDG_CONFIG_HOME/readline X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/14623136f33d4fde264e0abab8857f4888cc12b4 readline: move inputrc to $XDG_CONFIG_HOME/readline --- 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"