fixed a few lines

This commit is contained in:
unknown 2024-05-05 06:01:03 -07:00
parent e9ee029058
commit 793302eb82

View File

@ -28,10 +28,9 @@ If(!(test-path -PathType container $pwshalias))
New-Item -ItemType Directory -Path $pwshalias New-Item -ItemType Directory -Path $pwshalias
} }
pwshaf = $pwshalias\alias-and-functions.ps1 if (!(Test-Path "$HOME\pwshalias\alias-and-functions.ps1"))
if (!(Test-Path "$pwshaf"))
{ {
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" Write-Host "Created new file and text content added"
} }