From 091ce32500eaf45b5fecfbb73a0e689c2d3f2aa0 Mon Sep 17 00:00:00 2001 From: Jacquin Moon Date: Sun, 1 Dec 2024 15:33:40 +0700 Subject: [PATCH] :ferris_wheel: ci: cleanup oh-my-posh cache --- dotposh/Config/update-windots.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotposh/Config/update-windots.ps1 b/dotposh/Config/update-windots.ps1 index 159cf97..4cb6697 100644 --- a/dotposh/Config/update-windots.ps1 +++ b/dotposh/Config/update-windots.ps1 @@ -69,6 +69,10 @@ function Update-Windots { gum spin --title="Updating scoop apps..." -- scoop update --all } + if (Get-Command oh-my-posh -ErrorAction SilentlyContinue) { + gum spin --title="Clearning oh-my-posh cache..." -- oh-my-posh cache clear + } + # Update vscode extensions if (Get-Command code -ErrorAction SilentlyContinue) { gum spin --title="Updating vscode extensions..." -- code --update-extensions