mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
parent
f7841eb43c
commit
b0709e68b3
|
@ -3,6 +3,10 @@
|
|||
Generates the prompt before each line in the console
|
||||
#>
|
||||
|
||||
# Powershell doesn't default to UTF8 just yet, so we're forcing it as there are too many problems
|
||||
# that pop up when we don't
|
||||
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
|
||||
|
||||
function Get-PoshCommand {
|
||||
if ($IsMacOS) {
|
||||
return "$PSScriptRoot/bin/posh-darwin-amd64"
|
||||
|
|
Loading…
Reference in a new issue