Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lzy1960/powershell-config
My Powershell Config with OH-MY-POSH
https://github.com/lzy1960/powershell-config
alias beautify config module oh-my-posh powershell terminal
Last synced: about 2 months ago
JSON representation
My Powershell Config with OH-MY-POSH
- Host: GitHub
- URL: https://github.com/lzy1960/powershell-config
- Owner: lzy1960
- Created: 2022-09-13T14:05:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T15:02:26.000Z (about 1 year ago)
- Last Synced: 2024-01-02T16:25:04.704Z (about 1 year ago)
- Topics: alias, beautify, config, module, oh-my-posh, powershell, terminal
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Powershell Config
## Introduction
contains a package
- [Oh-My-Posh](https://ohmyposh.dev/)
And 4 Modules
- PSColor
- posh-git
- git-aliases
- PSReadLine## Installation
1. Install Windows Terminal
2. run the following command
```bash
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# install Oh-My-Posh
winget install JanDeDobbeleer.OhMyPosh -s winget
# install modules
Install-Module PSColor
Install-Module posh-git -Force
Install-Module git-aliases -Scope CurrentUser -AllowClobber
Install-Module PSReadLine -Force
```## Config
1. Copy `Microsoft.PowerShell_profile.ps1` to `%UserProfile%\Documents\WindowsPowerShell`
2. Open `settings.json` of `Windows Terminal`, replace content of `settings.json`
- The font face of config is [Sarasa Term SC](https://github.com/be5invis/Sarasa-Gothic), you can download from this link or modify it to what you like
3. Open `Windows Terminal`, enjoy it ~