mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
This commit is contained in:
		@@ -100,7 +100,7 @@ cmd_run_shell_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
			cwd = NULL;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ft = format_create(0);
 | 
			
		||||
	ft = format_create(cmdq, 0);
 | 
			
		||||
	format_defaults(ft, NULL, s, wl, wp);
 | 
			
		||||
	shellcmd = format_expand(ft, args->argv[0]);
 | 
			
		||||
	format_free(ft);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user