20190925 - 在 macOS 下为 vscode 添加 code 命令行

在 macOS 下为 vscode 添加 code 命令行最简单办法是:Ctrl + Alt + P,安装 Shell Command: Install 'code' command in PATH,2 秒之后,便可以在命令行使用 code 命令了。

当然,更 Linux 的做法是在 /etc/profile 文件中添加一个 alias,并 source 一下 profile 使之生效。

posted on 2019-09-25 21:18  Eric Lee  阅读(3509)  评论(1编辑  收藏  举报

导航