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 https://workshops.thoughtbot.com/vim video by @r00k, thanks man!
@gooooloo

Thanks man. It helps.

@wayneseymour

This made my night! 👍

@hunterlodge

great. it also helps me out. Thanks

@jpowell1218

Much appreciated.

@HackRanger

Thanks :)

@umangjeet

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

@conorliv

Just what I was looking for!

@yuyan2do

Thanks :)

@balaclark

thanks!

@JonShepChen

Awesome, thanks

@wynnej1983

thanks!

@rodlps22

Thanks man!!! \o/

@tangyanlin

Thanks :)

@codepython

Thanks!

@sumardi

Awesome. Thanks!

@rporrasluc

This was useful, thanks!

@hbweb

Great stuff - appreciated this command

@BigPa

It helps! 👍

@yuqiandoudou

谢谢了

@tonatiuh

Thanks!

@gccpacman

Works for me, thanks.

@IFCLS

Thanks!

@louis-she

Thanks!

@ss998

That's right, thanks!

@hvenables

Thanks

@David-99

Thank you!

@minkikim89

Thank you!

@tarlig

Perfect! Thanks!

@vswamy

Awesome..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment