mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Merge pull request #2661 from geekrumper/master
Fix #2654: blank space added between {cwd} and version_control variable
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/clink.lua
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/clink.lua
									
									
									
									
										vendored
									
									
								
							| @@ -166,7 +166,7 @@ local function set_prompt_filter() | |||||||
|     if uah ~= '' then uah = get_uah_color() .. uah end |     if uah ~= '' then uah = get_uah_color() .. uah end | ||||||
|     if cwd ~= '' then cwd = get_cwd_color() .. cwd end |     if cwd ~= '' then cwd = get_cwd_color() .. cwd end | ||||||
|  |  | ||||||
|     local version_control = prompt_includeVersionControl and "{git}{hg}{svn}" or "" |     local version_control = prompt_includeVersionControl and " {git}{hg}{svn}" or "" | ||||||
|  |  | ||||||
|     prompt = "{uah}{cwd}" .. version_control .. get_lamb_color() .. cr .. "{env}{lamb} \x1b[0m" |     prompt = "{uah}{cwd}" .. version_control .. get_lamb_color() .. cr .. "{env}{lamb} \x1b[0m" | ||||||
|     prompt = string.gsub(prompt, "{uah}", uah) |     prompt = string.gsub(prompt, "{uah}", uah) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user