Do updatedb after installing a new package

So you can always find what's been installed via locate
This commit is contained in:
David Heinemeier Hansson 2025-08-05 18:16:36 +02:00
parent 1746c7556c
commit 5ff0e82621
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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