Bug 10164 - /etc/inputrc overrides user configuration
Summary: /etc/inputrc overrides user configuration
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-14 13:07 UTC by Kjetil T. Homme
Modified: 2014-03-17 02:13 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-03-14 17:47:58 UTC


Attachments (Terms of Use)

Description Kjetil T. Homme 2000-03-14 13:07:27 UTC
/etc/profile sets INPUTRC, which causes readline to ignore
~/.inputrc.  Not very popular with my users :-)
One fix is to use the undocumented(!) keyword $include at
the end of /etc/inputrc:

$include ~/.inputrc

Works for me.

Comment 1 Kjetil T. Homme 2000-03-14 14:47:59 UTC
The suggested fix only works for bash 2.  But I consider it a bug
that /bin/bash still is 1.14, anyway.  :-)
(The fix has no ill effects for bash 1.14 that I can see.)

Comment 2 Bill Nottingham 2000-03-14 17:47:59 UTC
This is fixed in the current setup package; /etc/inputrc
is only used if $HOME/.inputrc doesn't exist.


Note You need to log in before you can comment on or make changes to this bug.