You are not logged in.
Pages: 1
I was following the arch wiki page on readline when I noticed that my ~/.inputrc and /etc/inputrc are not sourcing properly. Many lines returning "command not found," and I haven't even changed my /etc/inputrc.
$ source .inputrc
bash: \e[1;5D:: command not found
bash: \e[1;5C:: command not found
$ source /etc/inputrc
bash: mode=emacs: command not found
bash: \e[1~:: command not found
bash: \e[4~:: command not found
bash: \e[5~:: command not found
bash: \e[6~:: command not found
bash: \e[7~:: command not found
bash: \e[3~:: command not found
bash: \e[2~:: command not found
bash: \e[5C:: command not found
bash: \e[5D:: command not found
bash: \e\e[C:: command not found
bash: \e\e[D:: command not found
bash: \e[1;5C:: command not found
bash: \e[1;5D:: command not found
bash: \e[8~:: command not found
bash: \eOH:: command not found
bash: \eOF:: command not found
bash: \e[H:: command not found
bash: \e[F:: command not found
Anyone know what's causing this?
Offline
Why do you think you have to source it? There's nothing of the sort on the wiki page. Sourcing tells bash to interpret the input as bash script, but you have a config file that will be read on program start and not interpreted by bash as a shell.
If you want to read/check/manipulate this during runtime you should look at the bind command information in the bash man page.
Last edited by V1del (2020-01-24 08:56:55)
Offline
Pages: 1