Определение версии
This commit is contained in:
		
							
								
								
									
										16
									
								
								prompt.zsh
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								prompt.zsh
									
									
									
									
									
								
							@@ -27,14 +27,8 @@ if [[ "$TERM_PROGRAM" == "Hyper" ]]; then
 | 
			
		||||
  SPACESHIP_GIT_BRANCH_SHOW=false
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
case "x$(lsb_release -d -s)" in
 | 
			
		||||
	"xAstra Linux SE 1.5 (Smolensk)" )
 | 
			
		||||
		antibody bundle nojhan/liquidprompt
 | 
			
		||||
	;;
 | 
			
		||||
	"xDebian GNU/Linux 8.11 (jessie)" )
 | 
			
		||||
		antibody bundle nojhan/liquidprompt
 | 
			
		||||
	;;
 | 
			
		||||
	* )
 | 
			
		||||
		antibody bundle denysdovhan/spaceship-prompt
 | 
			
		||||
	;;
 | 
			
		||||
esac
 | 
			
		||||
if $(is-at-least 5.2); then
 | 
			
		||||
	antibody bundle denysdovhan/spaceship-prompt
 | 
			
		||||
else
 | 
			
		||||
	antibody bundle nojhan/liquidprompt
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user