universal-ctags / homebrew-universal-ctags

Homebrew Tap for Universal Ctags on OSX
https://ctags.io
GNU General Public License v2.0
326 stars 19 forks source link

Xcode's ctags shadows the one installed with brew #68

Open peteygao opened 1 year ago

peteygao commented 1 year ago

For context: I installed Xcode first, and then I tried installing universal-ctags with homebrew.

No issues running brew install --HEAD universal-ctags/universal-ctags/universal-ctags, the issue is that it doesn't remove the existing ctags implementation that ships with XCode, so running:

$ ctags -R                                                 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
$ which ctags
/usr/bin/ctags

I expect it to be symlinked to ctags in /opt/homebrew/Cellar/universal-ctags/HEAD-95f44c5/bin/ctags

masatake commented 1 year ago

@KazuakiM will you handle this? If you will not, I think we should close this repository.

leleliu008 commented 5 months ago

@peteygao This is not a bug, HomeBrew packages usually do not shadow your system's existing executables. If you want to do so, you should manully run brew link universal-ctags/universal-ctags/universal-ctags

leleliu008 commented 5 months ago

@masatake universal-ctags already has been included in homebrew-core, so , I think this repository could be archived.

masatake commented 5 months ago

@KazuakiM, as @leleliu008 wrote, we should freeze this repository not to confuse users.