Skip site navigation (1)Skip section navigation (2)
Date:      10 Jan 2020 13:05:27 -0500
From:      "John R. Levine" <johnl@iecc.com>
To:        "Ottavio Caruso" <ottavio.caruso@googlemail.com>
Cc:        freebsd-questions@freebsd.org, byrnejb@harte-lyne.ca
Subject:   Re: /bin/sh save history
Message-ID:  <alpine.OSX.2.21.99999.374.2001101305060.93800@ary.qy>
In-Reply-To: <CAEJNuHwqVC52008xo1xa6WFObXG64DrDZHGwOa1S_yViZ07pfg@mail.gmail.com>
References:  <0dbba1cf7eeb52e8f398d61434eaceb4.squirrel@webmail.harte-lyne.ca> <20200110171111.E14751225C9C@ary.qy> <CAEJNuHwqVC52008xo1xa6WFObXG64DrDZHGwOa1S_yViZ07pfg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> Is there no way to specify a history file for /bin/sh and
>>> automatically save / merge the session hitory with that of previous
>>> and concurrent sessions?
>>
>> No.  For that you need bash from ports or packages.
>
> /bin/tsch in base system has a ./.history file and can be configured
> to scroll history back and forth like bash:

Yes, but that uses csh syntax rather than sh syntax.

Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.OSX.2.21.99999.374.2001101305060.93800>