Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 28 days 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.
- Host: GitHub
- URL: https://github.com/dontrolle/powershell-profile
- Owner: dontrolle
- License: mit
- Created: 2021-05-06T13:18:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T08:54:31.000Z (9 months ago)
- Last Synced: 2024-09-28T04:21:09.872Z (about 1 month ago)
- Topics: git, nerd-fonts, powershell, powershell-profile, powershell-profiles, profile, prompt, windows-powershell
- Language: PowerShell
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```