command line history broken in 11.0

Bernt Hansson bah at bananmonarki.se
Tue Mar 21 16:33:01 UTC 2017


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.


More information about the freebsd-questions mailing list