mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	fix(termsupport): add workaround for directory tracking issues in Konsole
Fixes #11683 Related: 50c6786
This commit is contained in:
		
							parent
							
								
									ff6dac56a2
								
							
						
					
					
						commit
						8428442ff0
					
				@ -151,7 +151,7 @@ function omz_termsupport_cwd {
 | 
			
		||||
  URL_PATH="$(omz_urlencode -P $PWD)" || return 1
 | 
			
		||||
 | 
			
		||||
  # Konsole errors if the HOST is provided
 | 
			
		||||
  [[ -z "$KONSOLE_VERSION" ]] || URL_HOST=""
 | 
			
		||||
  [[ -z "$KONSOLE_PROFILE_NAME" && -z "$KONSOLE_DBUS_SESSION"  ]] || URL_HOST=""
 | 
			
		||||
 | 
			
		||||
  # common control sequence (OSC 7) to set current host and path
 | 
			
		||||
  printf "\e]7;file://%s%s\e\\" "${URL_HOST}" "${URL_PATH}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user