DragonFly submit List (threaded) for 2009-04
DragonFly BSD
DragonFly submit List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] Add `set -o tabcomplete' to /bin/sh.


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 8 Apr 2009 13:01:39 +0900

On Sun, Mar 29, 2009 at 02:58:39PM +0900, YONETANI Tomokazu wrote:
> On Sat, Feb 14, 2009 at 07:52:31PM +0100, Simon 'corecode' Schubert wrote:
> > Joerg Sonnenberger wrote:
> >> On Sat, Feb 14, 2009 at 09:44:26AM -0800, Matthew Dillon wrote:
> >>>     We should probably follow whatever NetBSD does there, but there is
> >>>     no reason we can't turn it on in the default /etc/profile.
> >>
> >> NetBSD enables it in /root/.profile. Putting it in /etc/profile is bad
> >> for two reasons:
> >> (a) That file is processed by many !/bin/sh shells as well.
> >> (b) Users can't overwrite that file directly.
> >
> > I don't see any harm in enabling it by default.
> 
> Please find attached a new version, which turns it on by default
> only for interactive shell.

[sh-tabcomplete.diff]
If no objection is raised, I'm planning to commit this version
by this weekend.

Cheers.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]