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

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat Mar 28 23:05:09 PDT 2009


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.





More information about the Submit mailing list