From c02595a257d286a678276b2adeb7e729dcbcbdf3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 25 Mar 2024 18:02:16 +0100 Subject: [PATCH] Install `Oh My Posh` to `pwsh` as root --- scripts/Common/Config/Oh My Posh/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Config/Oh My Posh/install.sh b/scripts/Common/Config/Oh My Posh/install.sh index b2306e42..137c67e0 100755 --- a/scripts/Common/Config/Oh My Posh/install.sh +++ b/scripts/Common/Config/Oh My Posh/install.sh @@ -17,6 +17,6 @@ cat ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json | sudo tee "$themeDir/manuel.omp. echo "oh-my-posh completion fish | source"; } | addFishProfile "oh-my-posh" "Oh My Posh!"; -pwsh -NoProfile ./install.ps1; +sudo pwsh -NoProfile ./install.ps1; popd > /dev/null;