mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	feat(termsupport): add WezTerm support (#13121)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
		
							parent
							
								
									c95509ebfd
								
							
						
					
					
						commit
						881c8b78d3
					
				@ -17,7 +17,7 @@ function title {
 | 
			
		||||
  : ${2=$1}
 | 
			
		||||
 | 
			
		||||
  case "$TERM" in
 | 
			
		||||
    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty*|st*|foot*|contour*)
 | 
			
		||||
    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty*|st*|foot*|contour*|wezterm*)
 | 
			
		||||
      print -Pn "\e]2;${2:q}\a" # set window name
 | 
			
		||||
      print -Pn "\e]1;${1:q}\a" # set tab name
 | 
			
		||||
      ;;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user