Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 17:31:25 +0100
From:      Bernt Hansson <bah@bananmonarki.se>
To:        Ernie Luzar <luzar722@gmail.com>, =?UTF-8?Q?Trond_Endrest=c3=b8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: command line history broken in 11.0
Message-ID:  <657b8795-4f45-e468-8738-ae758081fb66@bananmonarki.se>
In-Reply-To: <58D1310E.6050000@gmail.com>
References:  <58D019EE.9030508@gmail.com> <alpine.BSF.2.20.1703210942220.533@mail.fig.ol.no> <58D1310E.6050000@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-03-21 14:56, Ernie Luzar wrote:
> Trond Endrestøl wrote:
>> On Mon, 20 Mar 2017 14:05-0400, Ernie Luzar wrote:
>>
>> Wouldn't it be more practical to reverse your aliases and change the
>> conjunctions to unconditional sequences?
>>
>> alias sd    "shutdown now; exit"
>> alias sdp    "shutdown -p now; exit"
>> alias rboot     "reboot; exit"
>> alias stop      "halt; exit"
>>
>
> Tested your suggestion and it had no effect on the problem.
>
> I also tried this variation
>   alias rboot    "exit && sleep 5 && reboot"
> and it also had no effect on the problem.
>
> Does anyone know if reboot/halt had any changes between 10.3 and 11.0?

What is that exit stuff?

I would have set it this way.

alias rboot "shutdown -r now or time"

Have not tried it and i have no cigar.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?657b8795-4f45-e468-8738-ae758081fb66>