Mail Archives: cygwin/2003/02/14/15:34:19
* Elfyn McBratney (03-02-14 19:52 +0100)
> One thing that I forgot: Bash does have a system-wide inputrc but you have
> to define an environment variable to the location of the file, INPUTRC
>
> export INPUTRC=/etc/inputrc
bash doesn't have a "system-wide inputrc" (although you /could/ make
one that way). The only file mentioned in the man page is ~/.inputrc.
If you set the environment variable INPUTRC to /etc/inputrc,
~/.inputrc won't be parsed.
You can include any file with "$include". So if /etc/inputrc exists,
you may want to source it with...
,--- * .bashrc
| # Make *my* settings work (despite of any "export INPUTRC=" in
| # /etc/profile)
|
| unset INPUTRC
`---
,--- * ~/.inputrc
| # But only my settings where opposed to /etc/inputrc
| $include /etc/inputrc
|
| "\e[3~": delete-char
|
| # etc., etc.
`---
or...
,--- * /etc/profile
| export INPUTRC=/etc/inputrc
`---
,--- * /etc/inputrc
| "\e[3~": delete-char
|
| $include ~/.inputrc
`---
Thorsten
--
Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
Content-Transfer-Warning: message contains innuendos not suited for
children under the age of 18
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -