Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

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

Open
peteygao opened this issue Mar 30, 2023 · 4 comments
Open

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

peteygao opened this issue Mar 30, 2023 · 4 comments

Comments

@peteygao
Copy link

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
Copy link
Member

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

@leleliu008
Copy link
Member

@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
Copy link
Member

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

@masatake
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants