Add touch function to create new empty text file

This commit is contained in:
Kenneth Benzie 2024-12-13 21:57:16 +00:00
parent b49371eaa3
commit 125a509240

View File

@ -34,3 +34,11 @@ function rm {
Invoke-Expression -Command "$Command $Path" Invoke-Expression -Command "$Command $Path"
} }
} }
# Add new aliases
function touch {
Param (
[string]$Path
)
New-Item -Type File $Path
}