xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

VS Code & MacOS & Zsh

VS Code & MacOS & Zsh

https://code.visualstudio.com/docs/setup/mac

solution

OK

bug


$ cat .zshrc
$ vim .zshrc

# flutter PATH & zsh
export PATH="$PATH:/Users/xgqfrms-mbp/Documents/Flutter/flutter/bin"

# Add Visual Studio Code (code)
# export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
export PATH="$PATH:/Users/xgqfrms-mbp/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

$ source $HOME/.zshrc


code – opens Visual Studio Code
code . – opens current directory in Visual Studio Code
code somefile – opens somefile in Visual Studio Code

How to run Visual Studio Code from Zsh on Mac OSX

https://kevgriffin.com/how-to-run-visual-studio-code-from-terminal-on-mac-osx/

https://kevgriffin.com/how-to-run-visual-studio-code-from-zsh-on-mac-osx/

https://codewithhugo.com/a-simple-javascript/node-coding-setup-on-mac-os-x/

https://dev.to/nyanev/how-to-use-zsh-in-vs-code-for-mac-39dp



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2019-03-20 21:49  xgqfrms  阅读(531)  评论(15编辑  收藏  举报