Re: support /etc/inputrc as a system-wide fallback default ?
From:
Mike Frysinger
Subject:
Re: support /etc/inputrc as a system-wide fallback default ?
Date:
Sun, 5 Feb 2006 00:52:20 -0500
User-agent:
KMail/1.9.1
On Saturday 04 February 2006 18:35, Dmitry V. Levin wrote:
> I believe this idea comes from Debian and is used also in other distros
> including ALT and Owl, see e.g.
>http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/bash/readline-5.1-de
>b-alt-inputrc.diff
>
> Yes, it looks not yet submitted.
that isnt how Gentoo has been handling it ... that patch falls back to reading
both /etc/inputrc *and* ~/.inputrc ...
we've been using the policy of:
1. the filename used for the previous call
2. the value of the shell variable `INPUTRC'
3. ~/.inputrc
4. /etc/inputrc
which makes more sense to me ... if you want your ~/.inputrc to also use
the /etc/inputrc, then you should use an include directive yourself in
~/.inputrc rather than it always being forced ...
-mike