mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	This prevents the previous behavior that exitted the zsh session even if fbterm didn't start correctly.
		
			
				
	
	
		
			8 lines
		
	
	
		
			139 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			139 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# start fbterm automatically in /dev/tty*
 | 
						|
 | 
						|
if (( ${+commands[fbterm]} )); then
 | 
						|
	if [[ "$TTY" = /dev/tty* ]] ; then
 | 
						|
		fbterm && exit
 | 
						|
	fi
 | 
						|
fi
 |