[PATCH] Add `set -o tabcomplete' to /bin/sh.
YONETANI Tomokazu
qhwt+dfly at les.ath.cx
Tue Apr 7 21:11:59 PDT 2009
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.
More information about the Submit
mailing list