Skip to content

Instantly share code, notes, and snippets.

@havenwood
Created March 12, 2020 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save havenwood/bb61df9b68a911448e905a88bba9bcd7 to your computer and use it in GitHub Desktop.
Save havenwood/bb61df9b68a911448e905a88bba9bcd7 to your computer and use it in GitHub Desktop.
##
# chruby
function () {
source "/usr/local/share/chruby/chruby.sh"
source "/usr/local/share/chruby/auto.sh"
# add rbenv Rubies
RUBIES+=(~/.rbenv/versions/*)
# completions
compctl -g "$HOME/.rubies/*(:t)" chruby
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment