Subject: Re: CVS commit: src/etc
To: None <tech-userlevel@NetBSD.org, source-changes@NetBSD.org>
From: Alan Barrett <apb@NetBSD.org>
List: source-changes
Date: 10/08/2006 17:52:11
On Sun, 08 Oct 2006, David Laight wrote:
> > > set -o tabcomplete if interactive.  Discussed on tech-userlevel.
> > 
> > Please don't do this. This file is also used by ksh, which knows nothing
> > about tabcomplete.
> 
> Or parse the output of either 'set -o' or 'set +o' to work out
> what is (appears to be) supported.

I went with    (set -o tabcomplete 2>/dev/null) && set -o tabcomplete

--apb (Alan Barrett)