sudo vim /etc/wsl.conf[boot]
systemd=true| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "right", | |
| "segments": [ | |
| { | |
| "foreground": "#fff", | |
| "style": "plain", | |
| "type": "text" |
| [ | |
| { | |
| "identifier": { | |
| "id": "shan.code-settings-sync", | |
| "uuid": "e337c67b-55c2-4fef-8949-eb260e7fb7fd" | |
| }, | |
| "version": "3.4.3", | |
| "location": { | |
| "$mid": 1, | |
| "path": "/home/roland/.var/app/com.vscodium.codium/data/codium/extensions/shan.code-settings-sync-3.4.3-universal", |
| # Steps to get WSL going. | |
| ## Windows Settings | |
| In `Apps &`...-> `Windows features` | |
| - Enable Hyper-V | |
| - Enable Windows Hypervisor thingy | |
| - Enable WSL |
| // βββββββββββββββββββββββββββββββββββββ | |
| // β CHECK IT AGAIN BEFORE YOU USE IT! β | |
| // βββββββββββββββββββββββββββββββββββββ | |
| // ββββββββββββββββββββββββββββββββββββ | |
| // β Operating system generated files β | |
| // ββββββββββββββββββββββββββββββββββββ | |
| // βββββββββββββββ | |
| // β Apple macOS β |
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
| <# | |
| The command to run, built from the raw link of this gist | |
| Win+R | |
| iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
| OR (if you don't like the way the web launcher force re-installs everything) |
| ##################### | |
| # SOFTWARE | |
| ##################### | |
| # Console | |
| cinst poshgit | |
| # 7Zip | |
| cinst 7zip.install -y |
| # Fork of https://gist.github.com/stungeye/4fd96987cbc9e0c6676e71cb14468660 | |
| # Allow running PowerShell scripts | |
| Update-ExecutionPolicy Unrestricted | |
| # Install Chocolatey | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
| # Install Boxstarter | |
| Set-ExecutionPolicy Unrestricted -Force |