lab_startup/wsl2/README.md at main · kaityo256/lab_startup
研究室のPCのセットアップ資料. Contribute to kaityo256/lab_startup development by creating an account on GitHub.
X Window Systemのセットアップ
lab_startup/X11/README.md at main · kaityo256/lab_startup
研究室のPCのセットアップ資料. Contribute to kaityo256/lab_startup development by creating an account on GitHub.
GitHub - kaityo256/lab_startup: 研究室のPCのセットアップ資料
研究室のPCのセットアップ資料. Contribute to kaityo256/lab_startup development by creating an account on GitHub.
WSL2でVS codeを起動できるように設定
$PATHにcursorパスの後に,VS codeのパスを追記していたから,
$ code .
でVS codeを開くことができなくなっていた.そこで,以下を参考に,cursorのパスを削除すると,解決した.
. ~/.bashrc
path_remove /mnt/c/Users/icros/AppData/Local/Programs/cursor/resources/app/bin

$PATH から特定のパスだけを削除する - Qiita
今まで ~/sh に自分で書いたシェルスクリプトを入れてたんだけど、 ~/bin に入れといたほうがlinuxっぽい気がするので ~/sh/foo.bash を作っといて ~/sh/foo にリンク…
原因についての考察記事:

Cursor install broke code command in WSL2
During the setup process i had the option to change the code alias to cursor; i’m pretty sure i didn’t select that. Stil...
コメント