Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 ~