Last active
January 16, 2024 07:05
-
-
Save andreysaksonov/14535908b8f2f2bc817d85ba4362e523 to your computer and use it in GitHub Desktop.
Windows: $HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
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://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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package