Guest User

Untitled

a guest
May 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #/usr/bin/env bash
  2.  
  3. brewprefix="$( brew --prefix )"
  4. rvmpath="$HOME/.rvm"
  5.  
  6. sources=(
  7. "$brewprefix/etc/bash_completion"
  8. "$brewprefix/Library/Contributions/brew_bash_completion.sh"
  9. "$rvmpath/scripts/rvm"
  10. "$rvmpath/scripts/completion"
  11. )
  12.  
  13. for src in ${sources[@]}; do
  14. [[ -r $src ]] && source $src
  15. done
Add Comment
Please, Sign In to add comment