Re: [HEADSUP] making /bin/sh the default shell for root
- In reply to: Baptiste Daroussin : "Re: [HEADSUP] making /bin/sh the default shell for root"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Oct 2021 21:28:32 UTC
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.