Skip to content

Instantly share code, notes, and snippets.

@andreysaksonov
Last active January 16, 2024 07:05
Show Gist options
  • Save andreysaksonov/14535908b8f2f2bc817d85ba4362e523 to your computer and use it in GitHub Desktop.
Save andreysaksonov/14535908b8f2f2bc817d85ba4362e523 to your computer and use it in GitHub Desktop.
Windows: $HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
# https://github.com/PowerShell/PSReadLine
# Install-Module PSReadLine -Scope CurrentUser -Force
# https://github.com/matt9ucci/DockerCompletion
# Install-Module DockerCompletion -Scope CurrentUser
# https://github.com/dahlbyk/posh-git
# Install-Module posh-git -Scope CurrentUser
# https://ohmyposh.dev/
# winget install JanDeDobbeleer.OhMyPosh
# cp $env:LocalAppData\Programs\oh-my-posh\themes\powerlevel10k_lean.omp.json ~/powerlevel10k_lean.omp.json
#Import-Module PSReadLine
#Import-Module DockerCompletion
#Import-Module posh-git
#Set-PSReadLineOption -PredictionSource History
oh-my-posh --init --shell pwsh --config ~/powerlevel10k_lean.omp.json | Invoke-Expression
$env:POSH_GIT_ENABLED = $true
@andreysaksonov
Copy link
Author

andreysaksonov commented Sep 2, 2022

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment