mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Check if fbterm is installed and use $TTY variable
This commit is contained in:
		@@ -1,6 +1,8 @@
 | 
			
		||||
# start fbterm automatically in /dev/tty*
 | 
			
		||||
 | 
			
		||||
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
 | 
			
		||||
	fbterm
 | 
			
		||||
	exit
 | 
			
		||||
if (( ${+commands[fbterm]} )); then
 | 
			
		||||
	if [[ "$TTY" = /dev/tty* ]] ; then
 | 
			
		||||
		fbterm
 | 
			
		||||
		exit
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user