はじめに 私はLinuxのローカル環境にWSL2のubuntuを利用していますが、PATHを確認してみるとWindowsのファイルシステムがPATHに設定されていて気持ちよくなかったので解除しました。 具体的に言うと「mnt/c」がPATHに設定されています。WSL2からWindowsのファイルシステム「/mnt/c」にアクセスすると動作がとても遅いです。マシンスペックによっては例えばコマンドの補完だけで秒単位になる事が想像できるところです。 WSL2のubuntuで現在のPATH設定を確認する echo $PATH -- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games :/mnt/c/Program Files/WindowsApps/CanonicalGro