Re: [RP] [PATCH] Fix: call using_history after initializing history entries

2017-08-07 Thread Jeremie Courreges-Anglas
On Wed, Aug 02 2017, Antoine Busque wrote: > In its current state, history expansion requiring any sort of string > lookup is not working, always returing "event not found". This is due > to `history_offset` being set improperly by an early call to > `using_history`. > > A call to `using_history`

[RP] [PATCH] Fix: call using_history after initializing history entries

2017-08-02 Thread Antoine Busque
In its current state, history expansion requiring any sort of string lookup is not working, always returing "event not found". This is due to `history_offset` being set improperly by an early call to `using_history`. A call to `using_history` needs to follow, not precede, the loop performing initi