Picon

[ mingw-Patches-3495241 ] copy inputrc independent of the presence of $HOME

This list is used to send updates of submitted patches, bug reports and file releases.  You are discouraged
from posting to this list.  If you wish to unsubscribe you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.
Patches item #3495241, was opened at 2012-02-28 00:42
Message generated for change (Settings changed) made by earnie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3495241&group_id=2435

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: msys
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Fabian Greffrath (fabian_deb)
Assigned to: Cesar Strauss (cstrauss)
Summary: copy inputrc independent of the presence of $HOME

Initial Comment:
Hi,

currently, /etc/profile checks for the existence of a $HOME directory and if it does not exist, creates it
and copies  /etc/inputrc.default to "$HOME"/.inputrc.

However, sometimes I install MSYS and have already set the $HOME variable to another directory. Thus the
.inputrc file is not copied over.

I suggest to make the copying of .inputrc independent of the presence of the HOME directory, but actually
check for the presence of this very file instead. the attached patch against /etc/profile does this.

----------------------------------------------------------------------

Comment By: Earnie Boyd (earnie)
Date: 2012-02-28 04:59

Message:
I haven't checked the patch but sort-of like the idea.  I do question
though that the user should have the right to not want ~/.inputrc if he
choose that but an empty file should overcome that case.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=3495241&group_id=2435

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

Gmane