History needs to be loaded after config parsing is done - now that

commands are queued, that's in cfg_done not after start_cfg finishes.
This commit is contained in:
nicm
2017-04-21 14:04:54 +00:00
parent bba588752f
commit 428be9803c
2 changed files with 2 additions and 2 deletions

2
cfg.c
View File

@ -43,6 +43,8 @@ cfg_done(__unused struct cmdq_item *item, __unused void *data)
if (!RB_EMPTY(&sessions))
cfg_show_causes(RB_MIN(sessions, &sessions));
status_prompt_load_history();
return (CMD_RETURN_NORMAL);
}