mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Add support of screen-* $TERM in screen plugin
This commit is contained in:
		
							parent
							
								
									c2ae9e09ca
								
							
						
					
					
						commit
						af729cc476
					
				@ -1,6 +1,6 @@
 | 
			
		||||
# if using GNU screen, let the zsh tell screen what the title and hardstatus
 | 
			
		||||
# of the tab window should be.
 | 
			
		||||
if [[ $TERM == "screen" ]]; then
 | 
			
		||||
if [[ "$TERM" == screen* ]]; then
 | 
			
		||||
  if [[ $_GET_PATH == '' ]]; then
 | 
			
		||||
    _GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"'
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user