mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
parent
219867eaa6
commit
0077eb24ff
|
@ -10,7 +10,7 @@ function Get-PoshCommand {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
# this is rather hacky but there's no other way for the time being
|
# this is rather hacky but there's no other way for the time being
|
||||||
$arch = uname -m
|
$arch = uname -m
|
||||||
if ($arch -eq 'aarch64') {
|
if (($arch -eq 'aarch64') -or ($arch -eq 'armv7l')) {
|
||||||
return "$PSScriptRoot/bin/posh-linux-arm"
|
return "$PSScriptRoot/bin/posh-linux-arm"
|
||||||
}
|
}
|
||||||
return "$PSScriptRoot/bin/posh-linux-amd64"
|
return "$PSScriptRoot/bin/posh-linux-amd64"
|
||||||
|
|
Loading…
Reference in a new issue