powershell_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
powershell_setup [2022/12/20 02:21] – [PowerShell Setup] stephen | powershell_setup [2023/01/28 00:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PowerShell Setup ====== | ====== PowerShell Setup ====== | ||
+ | |||
+ | ===== Setup PowerShell Gallery ===== | ||
- Run '' | - Run '' | ||
- | - Run '' | + | |
+ | | ||
+ | |||
+ | ===== Install Stuff ===== | ||
+ | |||
+ | - Run '' | ||
+ | - Run '' | ||
- Run '' | - Run '' | ||
+ | |||
+ | Older stuff that probably doesn' | ||
+ | |||
- Run '' | - Run '' | ||
- | | + | |
- | - Run '' | + | ===== Setup Profile ===== |
- | oh-my-posh init pwsh --config | + | |
- | Import-Module posh-git | + | |
- | Import-Module -Name Terminal-Icons | + | |
- | Write-Output " | + | - Create if it doesn' |
+ | - Edit it: '' | ||
+ | - Put just this in it:<code powershell> | ||
+ | . ' | ||
</ | </ | ||
Line 25: | Line 39: | ||
===== Screw it, use my own ===== | ===== Screw it, use my own ===== | ||
- | | + | Run this: |
- | | + | <code powershell> |
- | + | oh-my-posh init pwsh --config | |
- | <code javascript> | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | } | + | |
- | ] | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | } | + | |
- | ] | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | }, | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | } | + | |
- | ] | + | |
- | } | + | |
- | ] | + | |
- | } | + | |
</ | </ | ||
- | |||
{{tag> | {{tag> |
powershell_setup.1671502881.txt.gz · Last modified: 2022/12/21 03:21 (external edit)