From 793302eb82302d173e77a9870da793c685742559 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 5 May 2024 06:01:03 -0700 Subject: [PATCH] fixed a few lines --- pwsh/setup.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pwsh/setup.ps1 b/pwsh/setup.ps1 index 9ca7a0e..924b725 100644 --- a/pwsh/setup.ps1 +++ b/pwsh/setup.ps1 @@ -28,10 +28,9 @@ If(!(test-path -PathType container $pwshalias)) New-Item -ItemType Directory -Path $pwshalias } -pwshaf = $pwshalias\alias-and-functions.ps1 -if (!(Test-Path "$pwshaf")) +if (!(Test-Path "$HOME\pwshalias\alias-and-functions.ps1")) { - New-Item -path "$pwshalias" -name "alias-and-functions.ps1" -type "file" -value "## File Created" + New-Item -path "$HOME\pwshalias\" -name "alias-and-functions.ps1" -type "file" -value "## File Created" Write-Host "Created new file and text content added" }