You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			735 B
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			28 lines
		
	
	
		
			735 B
		
	
	
	
		
			Bash
		
	
# If not running interactively, don't do anything
 | 
						|
[ -z "$PS1" ] && return
 | 
						|
 | 
						|
function source-file {
 | 
						|
    file="$1"
 | 
						|
    if [[ -f "$file" ]]; then
 | 
						|
        . "$file"
 | 
						|
    fi
 | 
						|
}
 | 
						|
 | 
						|
source-file /etc/bash_completion
 | 
						|
source-file ~/.bash/colors
 | 
						|
source-file ~/.bash/aliases
 | 
						|
source-file ~/.bash/functions
 | 
						|
source-file ~/.bash/path
 | 
						|
source-file ~/.bash/environment
 | 
						|
source-file ~/.bash/prompt
 | 
						|
source-file ~/.bash/ensure-ssh-agent
 | 
						|
source-file ~/opt/bash/env
 | 
						|
 | 
						|
unset -f source-file
 | 
						|
 | 
						|
[[ -f /usr/local/etc/bash_completion ]] && source /usr/local/etc/bash_completion
 | 
						|
[[ -f $HOME/.nvm/nvm.sh ]] && source $HOME/.nvm/nvm.sh
 | 
						|
[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion
 | 
						|
 | 
						|
[[ -x $(command -v vault) ]] && complete -C $(command -v vault) vault
 |