Source-Changes archive

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

Re: CVS commit: src/etc



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 ...


 - Hubert



Home | Main Index | Thread Index | Old Index