Date: Tue, 5 Oct 2021 21:28:32 +0000 From: "Piotr P. Stefaniak" <pstef@freebsd.org> To: Baptiste Daroussin <bapt@freebsd.org> Cc: daniel@morante.net, freebsd-current@freebsd.org Subject: Re: [HEADSUP] making /bin/sh the default shell for root Message-ID: <YVzDgB6xz87tMpii@freefall.freebsd.org> In-Reply-To: <20210922093236.azun2pqciabo3fem@aniel.nours.eu> References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> <bea8261f-cf46-a6b5-80b9-b754620323e0@morante.net> <20210922093236.azun2pqciabo3fem@aniel.nours.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-09-22 11:32:36, Baptiste Daroussin wrote: >On Wed, Sep 22, 2021 at 05:19:38AM -0400, Daniel Morante via freebsd-current wrote: >> Will history/completion continue to work the same way? (for example typing >> part of the command, pressing UP and having it complete based on history) > >No, this is a csh specific behaviour. (not it can probably be doable via >.shrc, but I haven't checked) I think that it can be recreated in sh. This works for me: bind ^[[A ed-search-prev-history bind ^[[B ed-search-next-history I believe ^V<up arrow> should work as well as ^[[A or better. That is not to claim anything about future defaults. This is just a tip.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YVzDgB6xz87tMpii>