WindowsのPATHをLinuxで使えなくする

1. wsl.confの設定

 WSL$ sudo vi /etc/wsl.conf
 --------------------------
 [interop]
 appendWindowsPath = false
 --------------------------

2. WSL再起動

 PS> wsl.exe -l -v
 PS> wsl.exe -t Ubuntu
 PS> bash.exe

3. WindowsのPATHがないことの確認

 WSL$ which notepad.exe

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2020-09-23 (水) 18:12:24