Wittionary / dotfiles

Configurations and shortcuts!
7 stars 0 forks source link

Add splatting to posh prompt #3

Closed Wittionary closed 2 years ago

Wittionary commented 3 years ago

Code can be cleaned up by splatting the parameters for foreground/background colors - and possibly more.

Example:

$Colors = @{ForegroundColor = "black"; BackgroundColor = "white"}
Write-Host "text" @Colors
Wittionary commented 2 years ago

Resolved with last commit