14 lines
393 B
Plaintext
14 lines
393 B
Plaintext
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/drac.omp.json" | Invoke-Expression
|
|
|
|
function csbuild {
|
|
param (
|
|
[string]$cfg = "Debug"
|
|
)
|
|
|
|
$csproj = Get-ChildItem -Recurse -Filter *.csproj
|
|
if ($csproj) {
|
|
dotnet build $csproj.FullName --configuration $cfg
|
|
} else {
|
|
Write-Host "No .csproj file found in the current directory or subfolders."
|
|
}
|
|
} |