Skip to content

Commit 7615a80

Browse files
committed
⚡ perf: cleanup
1 parent 45e5ee0 commit 7615a80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Profile.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ if (Get-Command 'oh-my-posh' -ErrorAction SilentlyContinue) {
2626
} | Out-Null
2727
}
2828

29-
# Set alias for `Git` before import `Posh-Git` module
30-
Set-Alias -Name 'g' -Value 'git'
3129

3230
# Posh Modules
33-
$PoshModules = @('posh-git', 'powershell-yaml', 'Microsoft.PowerShell.SecretManagement', 'Microsoft.PowerShell.SecretStore', 'Terminal-Icons')
31+
$PoshModules = @('powershell-yaml', 'Microsoft.PowerShell.SecretManagement', 'Microsoft.PowerShell.SecretStore', 'Terminal-Icons')
3432
foreach ($module in $PoshModules) {
3533
if (Get-Module -ListAvailable -Name "$module" -ErrorAction SilentlyContinue) {
3634
Register-EngineEvent -SourceIdentifier PowerShell.OnIdle -MaxTriggerCount 1 -Action { Import-Module "$module" -Global } | Out-Null

0 commit comments

Comments
 (0)