From 961b6b34b9290d2efc7895dd8f16e817e3a821e4 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 26 Oct 2023 02:49:03 +0200 Subject: [PATCH] added syncing of pkgfile --- larbs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/larbs.sh b/larbs.sh index 2ee9dde..2753858 100644 --- a/larbs.sh +++ b/larbs.sh @@ -223,6 +223,9 @@ chown -R "$name":wheel "/home/$name/.local" ln -sfT /bin/dash /bin/sh curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook +# Update pkgfile database for the command not found handler to work with zsh +pkgfile -u + # Allow wheel users to sudo with password and allow several system commands # (like `shutdown` to run without password). echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo