From 0077eb24ffeaa43c3b92818311ae4430cdbce2df Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 11 Apr 2021 14:10:51 +0200 Subject: [PATCH] fix(pwsh): support raspbian resolves #629 --- packages/powershell/oh-my-posh/oh-my-posh.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/powershell/oh-my-posh/oh-my-posh.psm1 b/packages/powershell/oh-my-posh/oh-my-posh.psm1 index ad90daed..bf3be814 100644 --- a/packages/powershell/oh-my-posh/oh-my-posh.psm1 +++ b/packages/powershell/oh-my-posh/oh-my-posh.psm1 @@ -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"