Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Aug 1, 2024
1 parent 88a5d29 commit 1b4c74f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dot_config/powershell/Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ~/.config/powershell/Microsoft.PowerShell_profile.ps1: executed by the PowerShell console host on startup.

oh-my-posh init pwsh --config "$env:HOME/.cache/oh-my-posh/themes/powerlevel10k_modern.omp.json" | Invoke-Expression
# Import Terminal related modules
Import-Module -Name posh-git -ErrorAction SilentlyContinue || (Microsoft.PowerShell.PSResourceGet\Install-PSResource -Name posh-git -Repository PSGallery -TrustRepository -Scope CurrentUser && Import-Module -Name posh-git)
Import-Module -Name Terminal-Icons -ErrorAction SilentlyContinue || (Microsoft.PowerShell.PSResourceGet\Install-PSResource -Name Terminal-Icons -Repository PSGallery -TrustRepository -Scope CurrentUser && Import-Module -Name Terminal-Icons)

# Enable oh-my-posh theme
oh-my-posh init pwsh --config "$env:HOME/.cache/oh-my-posh/themes/powerlevel10k_lite.omp.json" | Invoke-Expression

0 comments on commit 1b4c74f

Please sign in to comment.