Last active
July 4, 2024 01:18
-
-
Save pythoninthegrass/6c287b255727ba475f1619083088cd19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file | |
# Per-distro settings go in /etc/wsl.conf | |
# $env:userprofile\.wslconfig | |
# WSL2-specific options | |
[wsl2] | |
processors = 4 # Makes the WSL 2 VM use two virtual processors | |
memory = 8GB # Limits VM memory in WSL 2 | |
swap = 0 # Do not use swap file | |
localhostforwarding=true # bind WSL 2 localhost to Windows localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema-preview", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false | |
}, | |
"id": "User.copy.644BA8F2", | |
"keys": "ctrl+c" | |
}, | |
{ | |
"command": "paste", | |
"id": "User.paste", | |
"keys": "ctrl+v" | |
}, | |
{ | |
"command": "find", | |
"id": "User.find", | |
"keys": "ctrl+shift+f" | |
}, | |
{ | |
"command": | |
{ | |
"action": "splitPane", | |
"split": "auto", | |
"splitMode": "duplicate" | |
}, | |
"id": "User.splitPane.A6751878", | |
"keys": "alt+shift+d" | |
} | |
], | |
"copyFormatting": "none", | |
"copyOnSelect": false, | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"newTabMenu": | |
[ | |
{ | |
"type": "remainingProfiles" | |
} | |
], | |
"profiles": | |
{ | |
"defaults": | |
{ | |
"colorScheme": "Campbell Powershell (modified)", | |
"elevate": true, | |
"font": | |
{ | |
"face": "Consolas", | |
"size": 11 | |
}, | |
"opacity": 100 | |
}, | |
"list": | |
[ | |
{ | |
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"hidden": false, | |
"name": "Windows PowerShell" | |
}, | |
{ | |
"commandline": "%SystemRoot%\\System32\\cmd.exe", | |
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"hidden": false, | |
"name": "Command Prompt" | |
}, | |
{ | |
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
"hidden": false, | |
"name": "Ubuntu", | |
"source": "Windows.Terminal.Wsl", | |
"startingDirectory": "//wsl$/Ubuntu/home/lance" | |
}, | |
{ | |
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", | |
"hidden": false, | |
"name": "Azure Cloud Shell", | |
"source": "Windows.Terminal.Azure" | |
}, | |
{ | |
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"hidden": false, | |
"name": "PowerShell", | |
"source": "Windows.Terminal.PowershellCore" | |
} | |
] | |
}, | |
"schemes": | |
[ | |
{ | |
"background": "#002451", | |
"black": "#0C0C0C", | |
"blue": "#0037DA", | |
"brightBlack": "#767676", | |
"brightBlue": "#3B78FF", | |
"brightCyan": "#61D6D6", | |
"brightGreen": "#16C60C", | |
"brightPurple": "#B4009E", | |
"brightRed": "#E74856", | |
"brightWhite": "#F2F2F2", | |
"brightYellow": "#F9F1A5", | |
"cursorColor": "#FFFFFF", | |
"cyan": "#3A96DD", | |
"foreground": "#02AC65", | |
"green": "#13A10E", | |
"name": "Campbell (modified)", | |
"purple": "#881798", | |
"red": "#C50F1F", | |
"selectionBackground": "#FFFFFF", | |
"white": "#CCCCCC", | |
"yellow": "#C19C00" | |
}, | |
{ | |
"background": "#002451", | |
"black": "#0C0C0C", | |
"blue": "#0037DA", | |
"brightBlack": "#767676", | |
"brightBlue": "#3B78FF", | |
"brightCyan": "#61D6D6", | |
"brightGreen": "#16C60C", | |
"brightPurple": "#B4009E", | |
"brightRed": "#E74856", | |
"brightWhite": "#F2F2F2", | |
"brightYellow": "#F9F1A5", | |
"cursorColor": "#FFFFFF", | |
"cyan": "#3A96DD", | |
"foreground": "#8FC198", | |
"green": "#13A10E", | |
"name": "Campbell Powershell (modified)", | |
"purple": "#881798", | |
"red": "#C50F1F", | |
"selectionBackground": "#FFFFFF", | |
"white": "#CCCCCC", | |
"yellow": "#C19C00" | |
} | |
], | |
"themes": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file | |
# Per-distro settings | |
# /etc/wsl.conf | |
[boot] | |
systemd=true | |
[user] | |
default=lance | |
[automount] | |
enabled = true | |
root = / | |
options = "uid=1000,gid=1000,metadata" | |
mountFsTab = true | |
[interop] | |
enabled = false | |
appendWindowsPath = false | |
[boot] | |
command = service docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment