From 125a509240c15567874627fe49f658ddb23e7fe9 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 13 Dec 2024 21:57:16 +0000 Subject: [PATCH] Add touch function to create new empty text file --- utils.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils.ps1 b/utils.ps1 index e840538..da85e2c 100644 --- a/utils.ps1 +++ b/utils.ps1 @@ -34,3 +34,11 @@ function rm { Invoke-Expression -Command "$Command $Path" } } + +# Add new aliases +function touch { + Param ( + [string]$Path + ) + New-Item -Type File $Path +}