Skip to content

Instantly share code, notes, and snippets.

@joiggama
Last active December 20, 2015 05:09
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 joiggama/6076236 to your computer and use it in GitHub Desktop.
Save joiggama/6076236 to your computer and use it in GitHub Desktop.
Ctags for my gems, yo!
alias rctags="touch ./tags; rm ./tags ; ctags -R --exclude=.git --exclude=log --exclude=tmp * ~/.rbenv/versions/\$(ruby_version)/lib/ruby/gems/**/gems/*"
ruby_version() {
if [ -e ./.rbenv-version -o -e ./.ruby-version ]; then
echo "`rbenv version-name`"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment