https://github.com/bluzzi/powershell-profile
My PowerShell profile for an efficient CLI.
https://github.com/bluzzi/powershell-profile
powershell powershell-profile
Last synced: 2 months ago
JSON representation
My PowerShell profile for an efficient CLI.
- Host: GitHub
- URL: https://github.com/bluzzi/powershell-profile
- Owner: Bluzzi
- Created: 2023-05-08T00:33:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T20:46:19.000Z (5 months ago)
- Last Synced: 2025-01-08T21:43:19.975Z (4 months ago)
- Topics: powershell, powershell-profile
- Language: PowerShell
- Homepage:
- Size: 40 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PowerShell-Profile
My PowerShell configuration for an efficient CLI. Compatible with any operating system.## Installation
### Required programs
- [PowerShell](https://github.com/PowerShell/PowerShell)
- [Zoxide](https://github.com/ajeetdsouza/zoxide) for file navigation with the `z` command### Clone the profile
- open the previously installed PowerShell
- `mkdir $PROFILE/..`: create the folder that will contain this PowerShell profile
- `cd $PROFILE/..`: move to the folder you just created
- `git clone https://github.com/Bluzzi/PowerShell-Profile.git .`: clone this repo in the current directory
- reload your PowerShellEverything should work! 🎉
## Features
- [Zoxide](https://github.com/ajeetdsouza/zoxide): efficient file navigation
- [Posh-Git](https://github.com/dahlbyk/posh-git): git support
- Auto-completion
- Base64 encode/decode functions (`btoa`, `atob`)
- Command line environment variable for every OS `we PORT=3000 pnpm run dev`
- Git utils (`get-branchs`, `get-commits`)
- NPM & PNPM support
- Load the `.env` (next to `$PROFILE`)## Unit tests
[Pester](https://pester.dev/) is used for unit testing. Here are the commands for running the tests.
- `Install-Module -Name Pester -Force -AllowClobber`
- `Invoke-Pester` or `Invoke-Pester -Path $PROFILE/..`