from Mac日記2022 デフォルトエディタがviだった VSCodeにする
そもそもPATHにcodeがいないぞ、どうすんだっけ2022/11/26 macos - How to open Visual Studio Code from the command line on OSX? - Stack Overflow
After installation, launch VS Code. Now open the Command Palette (F1 or ⇧+⌘+P on Mac) and type shell command to find the Shell Command: Install ‘code’ command in PATH command.
.bashrc .bashrc
export EDITOR=code