* Made PATH initializing smarter * zsh rcfiles are no longer fired twice (thanks to zshenv) * Introduced speculative rb|pyenv support * General cleanup all around
		
			
				
	
	
		
			32 lines
		
	
	
		
			645 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			645 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# ZSH Env variables
 | 
						|
export ZSH_INIT=1
 | 
						|
export ZSH=$HOME/.oh-my-zsh
 | 
						|
 | 
						|
source ~/.zsh/functions
 | 
						|
 | 
						|
# Plugins:
 | 
						|
#  see <https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins>
 | 
						|
plugins=(git)
 | 
						|
if is_mac; then
 | 
						|
    plugins+=tmux
 | 
						|
    plugins+=vagrant
 | 
						|
fi
 | 
						|
 | 
						|
# Liiiiive!
 | 
						|
source $ZSH/oh-my-zsh.sh
 | 
						|
 | 
						|
# Source component rcfiles
 | 
						|
source ~/.zsh/paths
 | 
						|
source ~/.zsh/aliases
 | 
						|
source ~/.zsh/config
 | 
						|
source ~/.zsh/completion
 | 
						|
source ~/.zsh/prompt
 | 
						|
# source ~/.zsh/welcome
 | 
						|
 | 
						|
# Have a system specific rcfile? Source it!
 | 
						|
[ -f ~/.localrc ] && source ~/.localrc
 | 
						|
 | 
						|
# Init rbenv & pyenv
 | 
						|
command_exists rbenv && eval "$(rbenv init -)"
 | 
						|
command_exists pyenv && eval "$(pyenv init -)"
 |