From 2cdf5fc247f97ce81fc48fd2946d11add791779e Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 5 May 2024 05:26:08 -0700 Subject: [PATCH] fixed funtion --- pwsh/Microsoft.PowerShell_profile.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/pwsh/Microsoft.PowerShell_profile.ps1 b/pwsh/Microsoft.PowerShell_profile.ps1 index 2f70fbe..ba87eee 100644 --- a/pwsh/Microsoft.PowerShell_profile.ps1 +++ b/pwsh/Microsoft.PowerShell_profile.ps1 @@ -89,7 +89,6 @@ function Test-CommandExists { $EDITOR = if (Test-CommandExists nano) { 'nano' } elseif (Test-CommandExists notepad++) { 'notepad++' } else { 'notepad' } -Set-Alias -Name nano -Value $EDITOR function Edit-Profile { nano $PROFILE.CurrentUserAllHosts