From 5ff0e826212dcde46a61eafd81f0186bd6cd17b4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 5 Aug 2025 18:16:36 +0200 Subject: [PATCH] Do updatedb after installing a new package So you can always find what's been installed via locate --- bin/omarchy-pkg-install | 2 +- bin/omarchy-pkg-remove | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-pkg-install b/bin/omarchy-pkg-install index df697737..099f1b1d 100755 --- a/bin/omarchy-pkg-install +++ b/bin/omarchy-pkg-install @@ -1,5 +1,5 @@ #!/bin/bash -yay -Slq | fzf --multi --preview 'yay -Sii {1}' --preview-window=down:75% | xargs -ro yay -S --noconfirm +yay -Slq | fzf --multi --preview 'yay -Sii {1}' --preview-window=down:75% | xargs -ro yay -S --noconfirm && sudo updatedb ~/.local/share/omarchy/bin/omarchy-show-done diff --git a/bin/omarchy-pkg-remove b/bin/omarchy-pkg-remove index c748f591..9780fa66 100755 --- a/bin/omarchy-pkg-remove +++ b/bin/omarchy-pkg-remove @@ -1,5 +1,5 @@ #!/bin/bash -yay -Qqe | fzf --multi --preview 'yay -Qi {1}' --preview-window=down:75% | xargs -ro yay -Rns --noconfirm +yay -Qqe | fzf --multi --preview 'yay -Qi {1}' --preview-window=down:75% | xargs -ro yay -Rns --noconfirm && sudo updatedb ~/.local/share/omarchy/bin/omarchy-show-done