Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dontrolle/powershell-profile

My PowerShell profile - uses a few modules such as PoshGit, oh-my-posh for customizing the PS prompt, and sources a few of my own modules and scripts. Developer-oriented. Usage instructions included.
https://github.com/dontrolle/powershell-profile

git nerd-fonts powershell powershell-profile powershell-profiles profile prompt windows-powershell

Last synced: about 15 hours ago
JSON representation

My PowerShell profile - uses a few modules such as PoshGit, oh-my-posh for customizing the PS prompt, and sources a few of my own modules and scripts. Developer-oriented. Usage instructions included.

Awesome Lists containing this project

README

        

# My PowerShell profile

Relies on a few modules - can be gotten with PowerShellGet. If PowerShellGet is not already on your system, see [Installing PSGet](https://docs.microsoft.com/en-us/powershell/scripting/gallery/installing-psget?view=powershell-7.1)

## Dependencies

### Modules and scripts
* [PSReadLine](https://github.com/PowerShell/PSReadLine)
* [Get-ChildItemColor](https://github.com/joonro/Get-ChildItemColor)
* [Posh-Git](https://github.com/dahlbyk/posh-git)
* [Oh-My-Posh](https://ohmyposh.dev/)
* Remember to install a [Nerd Font](https://github.com/ryanoasis/nerd-fonts/) and use it your shell (I like Windows Terminal), see https://ohmyposh.dev/docs/fonts.
* For the font, I like "FuraCode Nerd Font Mono" (in the bundle "FiraCode Nerd Font"), because it has nordic characters; get it (or other Nerd Fonts) here:
* [A few of my own PowerShell utils](https://github.com/dontrolle/Powershell) - which may have evolved to have their own dependencies. Please check notes on usage [in that repo](https://github.com/dontrolle/Powershell/).

### Other

* Loads a [Chocolatey](https://chocolatey.org/) profile.

## Usage

Either

* clone directly into your PowerShell profile directory, or,
* clone in another directory, and setup a symlink to the path where PowerShell looks for your profile. I.e., in an elevated shell, from the cloned directory, do something like:

```powershell
New-Item -Path $PROFILE -ItemType SymbolicLink -Value (Get-Item .\Microsoft.PowerShell_profile.ps1).FullName
```