Date: Wed, 26 Aug 2020 17:09:31 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? Message-ID: <b7a508a0-9bc5-886a-dfc7-985909017f94@FreeBSD.org> In-Reply-To: <20200822094009.40c8eeae.freebsd@edvax.de> References: <FB0A5943-D0C9-4EFC-B645-4522964F36B9@kukulies.org> <20200822094009.40c8eeae.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM Content-Type: multipart/mixed; boundary="8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC" --8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 22/08/2020 08:40, Polytropon wrote: > On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote: >> I=E2=80=99m wondering whether I can set /bin/sh to autocomplete comman= ds. >=20 > 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. >=20 > If you want this feature, just use csh, bash, zsh, ksh, fish, > depending on your individual shell preference. >=20 > See "man 1 sh" and "man 5 editrc" for details. Errr... `set -o emacs` or `set -E` will enable tab completion in /bin/sh, along with various other comman-line editing features. Cheers, Matthew --8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC-- --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl9GiTtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Ofr3A//VFhJ3asm1WpZ6Nqrc6Tt8r7ynApGdciUYE9zwoNACXbCAwyaY4NNgSId 7p3qjtlPx5vaOHzEbpjbae0a0e9uFAJMnwE1+fEEMrPNMci92MOENa8ZKoAY7idQ PB8FyiuGAD9wHH3S6vTEvZngTm8GQHvInyV13EMSpcqI9GUPethc92nRdO7MpGOp w00ymCRgw7ZxR2ka66QPZ05p9wfvr/0ysJK6F2ko7/3NisJej18cZN2Qq/2OvXJ1 dN4+iiX1JMbznTGpteo8AAwifoXUw60yQ+XHO+H7gBaZz1m9T4sR+8ZSujKFPG7s 3U21XGNM34VSsKEGqGZuYeCXJeg0DZlAswVQL3ksPH1R3udwdjHuK1iHwLVvLckW b6MUuiFtclnbdGVV3XQgZpwbG/soO5Ut3l9cq3N9oXaoC0h0KRWT63vWmPZJYVKQ VJFTQigkY8WX54CnNWTO+ig7rmuNpZeDJ3gImSipc/3ulZxqkqlCVYI824C4HLQH qDMaIhIpzP4Y4UX4apQo9ilmHxIwbVT6nBzjNiMRR94J3B7eMtbw4Q4jSO1LGbgD F/rNndRStMAlZpd8Ti7PLJQmWy/cAMjWhENHeuOlJBOVnaNo/u5mJtfDj6NDH1VA BUU0dGFb5NlJRzcM2z+jCPoqaRywiwPKNxkB+yAWvT4ZDU0gK+A= =ehwa -----END PGP SIGNATURE----- --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b7a508a0-9bc5-886a-dfc7-985909017f94>