Subject: Re: CVS commit: src/etc
To: Alan Barrett <apb@NetBSD.org>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 12/03/2006 22:42:04
On Sun, 8 Oct 2006, Alan Barrett wrote:
> 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
You could also check $KSH_VERSION ...