env
This commit is contained in:
		
							parent
							
								
									f51a7136e6
								
							
						
					
					
						commit
						c87430681f
					
				
					 2 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								env/15_basic.zsh
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								env/15_basic.zsh
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | ||||||
|  | local function first-command() { | ||||||
|  | 	while [[ -n $1 ]]; do | ||||||
|  | 		if command -v $1 > /dev/null; then | ||||||
|  | 			echo $1 | ||||||
|  | 			return 0 | ||||||
|  | 		fi | ||||||
|  | 		shift | ||||||
|  | 	done | ||||||
|  | 	return 1 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | export PAGER=${PAGER:-$(first-command nvimpager vimpager less)} | ||||||
|  | export MANPAGER=${PAGER} | ||||||
							
								
								
									
										1
									
								
								env/50_scala.zsh
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								env/50_scala.zsh
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | export SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=10G -Xmx10G" | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 crater2150
						crater2150