A PowerShell profile that supercharges your workflow with Zoxide, oh-my-posh, Azure Predictor, intelligent aliases, and custom functions.
- Effortless Navigation: Accelerate directory changes with Zoxide's smart directory jumping.
- Stylish Terminal: Elevate your PowerShell prompt with oh-my-posh and the visually appealing Catppuccin Frappe theme.
- Azure AI Assistance: Streamline Azure CLI interactions with the intelligent tab completion and suggestions powered by Az.Tools.Predictor.
- Optimized Aliases: Execute common Git commands efficiently with short, intuitive aliases (gs, up, down, stat, br).
- Handy Utility Functions: Simplify repository creation with the New-GitHubRepo function, leveraging the GitHub CLI.
- Zoxide: Follow installation instructions.
- oh-my-posh: Follow installation instructions.
- Az.Tools.Predictor: Install via PowerShell:
Install-Module Az.Tools.Predictor
. - GitHub CLI: Required for the New-GitHubRepo function.
-
Download the Script Files:
- Clone this repository or download the following files:
my_powershell_profile.ps1
(or your preferred name)zoxide_init.ps1
catppuccin_frappe.omp.json
- Clone this repository or download the following files:
-
Place Files: Place the downloaded files in an appropriate directory in your PowerShell profile path (find it by running
$PROFILE
). -
Edit Profile:
-
Open your PowerShell profile (
$PROFILE
) in a text editor. -
Add the following lines of code to your profile:
# Initialize zoxide Invoke-Expression (& { (zoxide init powershell | Out-String) }) # Import zoxide configuration . "$PSScriptRoot\zoxide_init.ps1" # Initialize oh-my-posh oh-my-posh --init --shell pwsh --config "$PSScriptRoot\catppuccin_frappe.omp.json" | Invoke-Expression # Import Az.Tools.Predictor module Import-Module Az.Tools.Predictor # ... other profile settings
-
-
Zoxide:
-
Start typing a directory path or keywords, then tab to autocomplete with Zoxide's suggestions.
-
Use
z
to jump to previously visited directories. -
Git Aliases: Refer to the alias descriptions within the script.
-
New-GitHubRepo Function: Use this function to create new GitHub repositories directly from your PowerShell environment.
- Explore further customization options for Zoxide, oh-my-posh, and the Azure Predictor.
- Modify or create new aliases and custom functions in your profile.
- Zoxide
- oh-my-posh
- Az.Tools.Predictor (Installed with PowerShell)
- GitHub CLI (Optional, for New-GitHubRepo function)
Credit to the creators of Zoxide, oh-my-posh, and Azure Predictor for their awesome tools.
Feel free to copy and adapt this PowerShell profile to suit your needs!