mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								cfg.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cfg.c
									
									
									
									
									
								
							@@ -43,6 +43,8 @@ cfg_done(__unused struct cmdq_item *item, __unused void *data)
 | 
				
			|||||||
	if (!RB_EMPTY(&sessions))
 | 
						if (!RB_EMPTY(&sessions))
 | 
				
			||||||
		cfg_show_causes(RB_MIN(sessions, &sessions));
 | 
							cfg_show_causes(RB_MIN(sessions, &sessions));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						status_prompt_load_history();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return (CMD_RETURN_NORMAL);
 | 
						return (CMD_RETURN_NORMAL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user