Skip to content

Commit

Permalink
fix(pwsh): support raspbian
Browse files Browse the repository at this point in the history
resolves #629
  • Loading branch information
JanDeDobbeleer committed Apr 11, 2021
1 parent 219867e commit aaaafc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/powershell/oh-my-posh/oh-my-posh.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Get-PoshCommand {
if ($IsLinux) {
# this is rather hacky but there's no other way for the time being
$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-amd64"
Expand Down

0 comments on commit aaaafc6

Please sign in to comment.