Update windows/Microsoft.PowerShell_profile.ps1
added PS equivalent of dot alias
This commit is contained in:
parent
ef393be38d
commit
c1b4b3933b
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user