Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Code brew Install Now Adds code to Path By Default #340

Open
machale opened this issue Oct 15, 2021 · 3 comments
Open

Visual Studio Code brew Install Now Adds code to Path By Default #340

machale opened this issue Oct 15, 2021 · 3 comments

Comments

@machale
Copy link

machale commented Oct 15, 2021

I'm Submitting a ...

[x] Bug report
[ ] Tool/language/etc documentation request

Bug Location

https://sourabhbajaj.com/mac-setup/VisualStudioCode/

Tool/Language/etc

NA

Other Information

Minor issue. It appears the current brew installation of Visual Studio Code (as of this writing, v 1.61.1) already puts the code command in the path by default. It puts it at /usr/local/bin/code.

% ls -l /usr/local/bin/code
lrwxr-xr-x  1 xxxxx  xxxxx  68 Oct 15 00:48 /usr/local/bin/code -> /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code

So you can remove the macOS integration section on the Visual Studio Code page. Or at least remove the first two lines and just retain the two bullets.

Thanks.

@otkd
Copy link
Contributor

otkd commented Dec 29, 2021

Minor issue. It appears the current brew installation of Visual Studio Code (as of this writing, v 1.61.1) already puts the code command in the path by default. It puts it at /usr/local/bin/code.

Doesn't appear to be part of the install or zap stanza currently.

@xmlking
Copy link

xmlking commented Mar 12, 2022

same for sublimetext as well

@monsieurborges
Copy link

Hey @machale, @otkd, @xmlking, I addressed this kind of issue in a similar project: Mac-Setup guide. Check it out, maybe it will be useful too 😉

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

No branches or pull requests

4 participants