mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			279 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			279 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env zsh
 | |
| 
 | |
| # common grc.zsh paths
 | |
| files=(
 | |
|   /etc/grc.zsh            # default
 | |
|   /usr/local/etc/grc.zsh  # homebrew
 | |
| )
 | |
| 
 | |
| # verify the file is readable and source it
 | |
| for file in $files; do
 | |
|   if [[ -r "$file" ]]; then
 | |
|     source "$file"
 | |
|     break
 | |
|   fi
 | |
| done
 | |
| 
 | |
| unset file files
 |