mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(pwsh): Windows Migration and optimize powershell scripts
This commit is contained in:
parent
567c8d1b3b
commit
8306264bdb
12 changed files with 141 additions and 133 deletions
19
platforms/win/wslconfig
Normal file
19
platforms/win/wslconfig
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# $DOTFILES\platforms\win\wslconfig
|
||||
# Date: 2024-12-01
|
||||
# Author: contact@js0ny.net
|
||||
# Config Files (mainly for networking) for WSL2 (Windows Subsystem for Linux 2)
|
||||
# 适用于 Windows 的 Linux 子系统 2 的配置文件(主要用于网络)
|
||||
|
||||
# Location: ~/.wslconfig
|
||||
# Linking: (PowerShell)
|
||||
# New-Item -ItemType SymbolicLink -Path ~\.wslconfig -Target ~\.dotfiles\platforms\win\wslconfig
|
||||
[wsl2]
|
||||
# networkingMode=mirrored
|
||||
# dnsTunneling=true
|
||||
# firewall=true
|
||||
# autoProxy=true
|
||||
|
||||
[experimental]
|
||||
# requires dnsTunneling but are also OPTIONAL
|
||||
bestEffortDnsParsing=true
|
||||
hostAddressLoopback=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue