Update windows/Microsoft.PowerShell_profile.ps1

Adjusted dot function
This commit is contained in:
theflyingfool 2024-06-10 16:38:41 -05:00
parent 155ee65ebd
commit dcf1f96dcb

View File

@ -13,7 +13,4 @@ function touch($file) {
"" | Out-File $file -Encoding ASCII
}
function dot {
param([string[]]$args)
& git --git-dir=$env:USERPROFILE\.dot --work-tree=$env:USERPROFILE $args
}
function dot { & git --git-dir="C:\Users\User/.dot/" --work-tree="C:\Users\User" @args }