Skip to content
Create a gist now

Instantly share code, notes, and snippets.

ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"
#try again!
ctags -R --exclude=.git --exclude=log *
#puts tags file into you .gitignore (probably global) and you're all set!
#PS. i was inspired to install ctags by video by @r00k, thanks man!

Thanks man. It helps.


This made my night! :+1:


great. it also helps me out. Thanks


Much appreciated.


Thanks :)


Thanks for this one, was struggling with this one since long


Just what I was looking for!


Thanks :)




Awesome, thanks




Thanks man!!! \o/


Thanks :)




Awesome. Thanks!


This was useful, thanks!


Great stuff - appreciated this command


It helps! :+1:



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.