Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluzzi/powershell-profile
My PowerShell profile for an efficient CLI.
https://github.com/bluzzi/powershell-profile
powershell powershell-profile
Last synced: 10 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T13:02:39.000Z (2 months ago)
- Last Synced: 2024-10-12T03:19:38.969Z (27 days ago)
- Topics: powershell, powershell-profile
- Language: PowerShell
- Homepage:
- Size: 39.1 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/..`