Skip to content

Instantly share code, notes, and snippets.

@jnjcub
Created April 4, 2018 21:23
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 jnjcub/1c1d7f669fb004f65a0d81dae7a3a845 to your computer and use it in GitHub Desktop.
Save jnjcub/1c1d7f669fb004f65a0d81dae7a3a845 to your computer and use it in GitHub Desktop.
ctags 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
$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment