Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2020 09:40:09 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Christoph Kukulies <kuku@kukulies.org>
Cc:        Ruben via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: /bin/sh is what? Can I set tab autocompletion for that sh?
Message-ID:  <20200822094009.40c8eeae.freebsd@edvax.de>
In-Reply-To: <FB0A5943-D0C9-4EFC-B645-4522964F36B9@kukulies.org>
References:  <FB0A5943-D0C9-4EFC-B645-4522964F36B9@kukulies.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote:
> I’m wondering whether I can set /bin/sh to autocomplete commands.

The regular sh shell (which is the Almquist shell) does not
have that feature. As it is primarily intended for scripting,
and used interactively only in emergency cases (and even there
often only to start csh or bash), command completition has
probably never been considered for implementation.

If you want this feature, just use csh, bash, zsh, ksh, fish,
depending on your individual shell preference.

See "man 1 sh" and "man 5 editrc" for details.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200822094009.40c8eeae.freebsd>