From 53a7f767e1dc27297651769e82d966ccf65a72fa Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Fri, 14 Oct 2022 16:09:59 -0400 Subject: [PATCH] Fix syntax of fuctions --- link/windows/Microsoft.PowerShell_profile.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/link/windows/Microsoft.PowerShell_profile.ps1 b/link/windows/Microsoft.PowerShell_profile.ps1 index c2eda54..e10c1d0 100644 --- a/link/windows/Microsoft.PowerShell_profile.ps1 +++ b/link/windows/Microsoft.PowerShell_profile.ps1 @@ -27,9 +27,9 @@ Set-PSReadLineKeyHandler -Key Ctrl+u -Function BackwardDeleteLine Set-PSReadlineKeyHandler -Key Ctrl+d -Function DeleteCharOrExit # Aliases and functions used to simulate Linux shell aliases -Function gsw { & "git switch ${args}" } -Function gswc { & "git switch -c ${args}" } -Function hubpr { & "hub pull-request --browse --push ${args}" } +Function gsw { & "git" switch ${args} } +Function gswc { & "git" switch -c ${args} } +Function hubpr { & "hub" pull-request --browse --push ${args} } ### SSH autocompletion