Update windows/Microsoft.PowerShell_profile.ps1

added PS equivalent of dot alias
This commit is contained in:
theflyingfool 2024-06-09 17:48:29 -05:00
parent ef393be38d
commit c1b4b3933b

View File

@ -12,3 +12,8 @@ Register-ArgumentCompleter -Native -CommandName winget -ScriptBlock {
function touch($file) { function touch($file) {
"" | Out-File $file -Encoding ASCII "" | Out-File $file -Encoding ASCII
} }
function dot {
param([string[]]$args)
& git --git-dir=$env:USERPROFILE\.dot --work-tree=$env:USERPROFILE $args
}