generated at
デフォルトエディタがvi→VSCodeにする
デフォルトエディタがviだった
VSCodeにする

そもそもPATHにcodeがいないぞ、どうすんだっけ2022/11/26
>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
export EDITOR=code