mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
parent
f7841eb43c
commit
b0709e68b3
|
@ -3,6 +3,10 @@
|
||||||
Generates the prompt before each line in the console
|
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 {
|
function Get-PoshCommand {
|
||||||
if ($IsMacOS) {
|
if ($IsMacOS) {
|
||||||
return "$PSScriptRoot/bin/posh-darwin-amd64"
|
return "$PSScriptRoot/bin/posh-darwin-amd64"
|
||||||
|
|
Loading…
Reference in a new issue