The original ctags comes with Mac OS may say something like this when you run ctags -R:
$ctags -R
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
To solve the problem, install a new version and disable the original one:
$ brew install ctags
$ cd /usr/bin/
$ sudo mv ctags ctags.orig
Then $which ctags will give you the new installed ctags in /usr/local/bin/ctags.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.